Comments (8)
Hi @orgua sorry, at one time we did have a dependency check, but debootstrap is actually common on non-debian systems, so it was decided to not try to do every combination..
now days i'm having too much fun on other arch's, i don't think i'll actually finish the 22.04/jammy (ARMHF) bits..
from omap-image-builder.
Ok, so no official jammy. But I still fail to run the default script for Ubuntu 20.4.5 following the readme.
It always fails in the chroot.sh line 287
>> sudo chroot ./ignore/tmp.xyz debootstrap/debootstrap --second-stag
e
chroot: failed to run command ‘debootstrap/debootstrap’: Exec format error
I tried several distros in WSL as host:
- debian 11.6
- ubuntu 20.4
- ubuntu 22.4
By reading through the web (looking for fixes for the error-message) I got to collect several packages for pre-install:
- m4
- debootstrap
- debootstick
- qemu-system-arm (+ many dependencies)
- git
- sbuild (just a guess)
- qemubuilder (+ many dependencies)
- qemu-user-static
- crossbuild-essential-armhf
- coreutils
- sbuild-qemu
- qemu-utils
- pbuilder
- cdebootstrap
- zstd
- schroot
- tree
The error is still present. Could you please hint me a possible solution? The build-server is clearly producing images :)
from omap-image-builder.
are you running in WSL (1) or WSL (2) mode, WSL 2 provides a better linux internal vm..
ps, sorry i haven't tried this script personally on wsl.. running the debootstrap step should be the easiest for wsl to do, afterwards i'd fully expect it to barf on the bind mount and chroot into the qemu-arch
enviromrment for final install.
from omap-image-builder.
Yes it was indeed WSL1, but after updating to WSL 2 it still fails :)
But using a VM did the trick - the script ran almost through ('tree' was not installed). Thanks so much for your work!
One more question if I may:
Now that there is an riscv64-ubuntu23.04 on the image-server and the rcn-ee apt repo also has jammy-support -> Would it be feasible to compile a working BB Black image by just adapting the focal-config?
from omap-image-builder.
yeah, i think that would work,
just
copy the focal one directly rcn-ee.net-console-ubuntu-focal-v5.10-ti-armhf, and then tweak the new stuff defined in rcn-ee.net-console-ubuntu-2304-riscv64
the biggest issue, these might now all be built yet for jammy..
from omap-image-builder.
awesome spidersenses! Thats exactly where its failing. some of these packages you pointed out are in the repo, but most of them aren't.
Hit:1 http://ports.ubuntu.com jammy InRelease
Hit:2 http://repos.rcn-ee.com/ubuntu jammy InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package bb-beagle-config
E: Unable to locate package bb-beagle-version
E: Unable to locate package bb-cape-overlays
E: Unable to locate package bb-usb-gadgets
E: Unable to locate package generic-sys-mods
E: Unable to locate package gt
E: Unable to locate package libusbgx
Log: umount: [/home/service/omap-image-builder/ignore/tmp.tGPfyN1lqQ/dev/pts]
Some fallback to focal would suffice. I did an ubuntu-upgrade once - it took forever on the BB - but the new software-versions brought a significant and much needed speed improvement for us.
BTW: is that line a possible bug? I tried adding it to jammy, but there are only debian-source in it.
from omap-image-builder.
Oh that line is only for arm64/riscv64 debian.beagleboard.org is not a full mirror of rcn-ee.net (the armhf has a large history, no reason to mirror that when we enabled the BeagleV project and then the TI bbai64 project)...
Regards,
from omap-image-builder.
main issue resolved as it was WSL-related
from omap-image-builder.
Related Issues (20)
- Bullseye/Sid: If bb-customizations is not installed, generic-board-startup is not enabled HOT 1
- chroot.sh uses the wrong initial timestamp file for Buster HOT 5
- systemd-journald race condition due to /etc/machine-id regeneration HOT 3
- On the bb.org-debian-bullseye-console-v5.4 configuration, USB1 seems missing. HOT 4
- bb-usb-gadgets has unmet dependencies HOT 3
- Missing /u-boot/bb-u-boot-am335x-evm/MLO file in focal build HOT 2
- Dependency failed for Serial Getty on ttyS0 with Ubuntu Focal Build HOT 11
- bb-bbai-firmware postinstall issue HOT 1
- A recent security update of git broke the setup_sdcard.sh script HOT 1
- linux-headers missing? HOT 1
- Local bootloader not found during image creation HOT 6
- Will not run from Debian HOT 6
- Make the booted EMMC behavior configurable HOT 2
- Ubuntu 22.04 for the beaglebone AI-64 HOT 1
- binary-armhf/Packages no longer exist at http://us.archive.ubuntu.com/ubuntu/dists/xenial/main. HOT 6
- BBAI64 - Debian 12.2 images (Bookworm) with kernel 5.10ti have panic during boot
- BBAI64 - Included DT in images seems to be faulty / old
- Ubuntu 24.04 missing packages HOT 4
- Hardcoded path for USB mass storage gadget HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omap-image-builder.