boot-scripts
boot-scripts copied to clipboard
beaglebone-black-make-microSD-flasher-from-eMMC.sh Will not work with 4.1.x kernels
This may help others that are debugging this issue.
As mentioned in this thread https://groups.google.com/forum/#!category-topic/beaglebone/AGuWaV4sdKo
When you use the updated boot-scripts : beaglebone-black-make-microSD-flasher-from-eMMC.sh to create a 'clone' of your 4.1.x system it does not boot into the root filesystem properly.
Why would you use kernel 4.1.x instead of 4.4.x ? Because it came installed in my industrial beaglebone.
@rmilne or you know what is better!! Someone on v4.1.x who fixes it..
Here's the generic check we use for 3.8.x, (and thus assume uuid) at 4 places. Feel free to extend this check to also check for 4.1.x based kernel..
if [ -d /sys/devices/bone_capemgr.*/ ] ; then
Here are the 4 places a patch would be required..
1: https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/functions.sh#L914-L922
2: https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/functions.sh#L944-L950
3: https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/functions.sh#L955-L970
4: https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/functions.sh#L979-L982
Regards,