On Fri, Oct 2, 2020 at 5:10 AM [email protected] <[email protected]> wrote: > > Hi, > > I have Gentoo installed on an SD card for my BBB. After a kernel upgrade, > for some reason it seems like the board is loading the kernel from the SD > card, but booting into Debian on the EMMC. > > Here's the log, I cut off where userspace begins for brevity, but please let > me know if it would be helpful and I can reply back with it.
> switch to partitions #0, OK > mmc0 is current device > SD/MMC found on device 0 > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > gpio: pin 56 (gpio 56) value is 0 > gpio: pin 55 (gpio 55) value is 0 > gpio: pin 54 (gpio 54) value is 0 > gpio: pin 53 (gpio 53) value is 1 > switch to partitions #0, OK > mmc0 is current device > gpio: pin 54 (gpio 54) value is 1 > Checking for: /uEnv.txt ... > Checking for: /boot.scr ... > Checking for: /boot/boot.scr ... > Checking for: /boot/uEnv.txt ... > gpio: pin 55 (gpio 55) value is 1 > 55 bytes read in 35 ms (1000 Bytes/s) > Loaded environment from /boot/uEnv.txt > Checking if uname_r is set in /boot/uEnv.txt... > gpio: pin 56 (gpio 56) value is 1 > Running uname_boot ... > loading /boot/vmlinuz-5.9.0-rc7-bone4.1 ... > 8991232 bytes read in 604 ms (14.2 MiB/s) > debug: [enable_uboot_overlays=] ... > loading /boot/dtbs/5.9.0-rc7-bone4.1/am335x-boneblack.dtb ... > 87799 bytes read in 53 ms (1.6 MiB/s) > uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable... > debug: [console=ttyO0,115200n8 root=/dev/mmcblk0p1 ro rootfstype=ext4 > rootwait] ... Okay, so in u-boot, we are reading from mmc0 (which is microSD) and telling the kenrel we want to use root=/dev/mmcblk0p1 which is also the microSD.. > [ 0.000000] Linux version 5.9.0-rc7-bone4.1 (sleepy@seraph) > (arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture > 9.2-2019.12 (arm-9.10)) 9.2.1 2019100 Yay 5.9 boots. ;) > [ 5.242340] mmc0: new high speed MMC card at address 0001 > [ 5.251694] mmcblk0: mmc0:0001 M62704 3.56 GiB > [ 5.258406] mmcblk0boot0: mmc0:0001 M62704 partition 1 2.00 MiB > [ 5.266465] mmcblk0boot1: mmc0:0001 M62704 partition 2 2.00 MiB Wait a minute.. that's the eMMC... > [ 6.457532] mmc1: new high speed SDXC card at address aaaa > [ 6.466835] mmcblk1: mmc1:aaaa SN64G 59.5 GiB > [ 6.478915] mmcblk1: p1 There's your microSD card.. Uhoh.. They swapped... That's a regression.. In 5.9 we have a brand new mmc driver.. Revert: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/am33xx.dtsi?h=v5.9-rc7&id=0b4edf111870b83ea77b1d7e16b8ceac29f9f388 and it should work again.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYia_0M4bx37u-kEGMj6zz0xv5BO-kMX55TJiOtVQwRAvQ%40mail.gmail.com.
