Comments (6)
@JoseGoncalves correct, this was a design choice to minimize final disk space, when supporting "fat" images:
For a long time, (pre Debian Images for BeagleBoard.org), I've shipped my own fat images:
https://elinux.org/BeagleBoardDebian#Demo_Image
2020-03-12
BeagleBoard xM: v5.4.24-armv7-x20 kernel
All BeagleBone Variants and PocketBeagle: v4.19.94-ti-r36 kernel
BeagleBoard-X15 (and BeagleBone AI): v4.19.94-ti-r36 kernel
This image has 2 kernel's installed by default.
Regards,
from boot-scripts.
@RobertCNelson don't quite understand what you called a design choice.
From my point of view, when a user has a rootfs in an SD card and runs a script whose purpose is to flash it into eMMC, he would expect to have in the eMMC an exact copy of what was in the memory card.
If, for some reason, a user wants to trim that image he should remove the unwanted bits before script execution.
from boot-scripts.
In a second look I understood your point. You had previously images that supported multiple boards, i.e., with kernels for different boards, that would not make sense to burn on a board's flash were it would be useless.
from boot-scripts.
We could add a flag to /boot/SOC.sh as we've done this before for ssh regeneration..
6f03ba9#diff-c483633eab46489e55e2e391823018ad
I'd expect the current default state to be the same, but with a new flag it could do your requirement.. Something like:
flasher_copy_all_kernel=enable
Regards,
from boot-scripts.
@RobertCNelson Thanks, that will work for me.
A better option, without using extra flags, but which involves more changes/work in your build process, would be to add some board specific suffix in all your kernel image names, that would identify kernels for specific boards. In the flasher script you would use that suffix to only burn images built for the board were you are running it.
from boot-scripts.
We do that today...
"Board Specific Suffix" = aka the kernel it's actually running. ;)
What you really meant get's a little messy..
https://github.com/RobertCNelson/omap-image-builder/blob/master/tools/setup_sdcard.sh#L936-L1035
But user are free to install what ever they want or build what they want, so any automatic detection can fail.. Best to just use the kernel that it booted..
Regards,
from boot-scripts.
Related Issues (20)
- boot-scripts/device/bone/capes/DLPDLCR2000/structured_light won't compile
- Update show-pins for 4.19 kernel
- get_ext4_options in emmc/functions.sh doesn't disable metadata_csum/64bit on buster image HOT 1
- @davewthompson which image? The most common reason for this error occurs when you try to boot a really really old 3.8.13 image with a newer BBB with an eMMC based off the 5.1* spec.. Which i fixed on Jun 15, 2016. HOT 7
- USB Ethernet gadget not recognised by recent MacOS releases HOT 3
- init-EMMC-flasher doesn't work with kernel 5. HOT 7
- GIVE ME MY 2-SECOND DELAY BACK!!! HOT 2
- Bluetooth and kernel 5.4 HOT 1
- What script to flash Green Gateway? HOT 3
- mjpg-streamer stops working when using libroboticscontrol example HOT 2
- typo in update_bootloader.sh HOT 1
- boot from eMMC not working after using bbb-eMMC-flasher-eewiki-ext4.sh HOT 4
- eth0 not getting IP address after flashing bone-debian-11.3-iot-armhf-2022-05-10-4gb.img.xz onto BeagleBone Black HOT 2
- over copy HOT 15
- show-pins.pl fails after pulling latest code HOT 4
- Generic eMMC Flasher fails on newest BBone-Images (Ubuntu) HOT 4
- init-eMMC-flasher-v3.sh failing `are_we_flasher` check HOT 4
- Cannot boot from SDcard on BBB rev. A5A board HOT 31
- version.sh should check the CONTROL_STATUS register to determine which SPL was run 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 boot-scripts.