Well ... I'm not sure I understood your suggestion correctly, but here's what I did:
1. I didn't find generate_extlinux.sh <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FRobertCNelson%2Fboot-scripts%2Fblob%2Fmaster%2Ftools%2Fgenerate_extlinux.sh&sa=D&sntz=1&usg=AFQjCNHWXOdFw0O6ukCotSPuYHSZMFxXBQ> under /opt/scripts/tools/ on BBB, so I created it and edited 16th line 2. Then I executed generate_extlinux.sh <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FRobertCNelson%2Fboot-scripts%2Fblob%2Fmaster%2Ftools%2Fgenerate_extlinux.sh&sa=D&sntz=1&usg=AFQjCNHWXOdFw0O6ukCotSPuYHSZMFxXBQ> (still on BBB) 3. Then I changed for Ubuntu, where I copied MLO and u-boot.img in rootfs on sd-card 4. Then I've tried to boot from sd-card. Here is what I got: U-Boot SPL 2019.04-dirty (Aug 13 2020 - 16:16:20 +0200) Trying to boot from MMC1 Loading Environment from EXT4... ** File not found /boot/uboot.env ** ** Unable to read "/boot/uboot.env" from mmc0:1 ** U-Boot 2019.04-dirty (Aug 13 2020 - 16:16:20 +0200) CPU : AM335X-GP rev 2.1 I2C: ready DRAM: 512 MiB No match for driver 'omap_hsmmc' No match for driver 'omap_hsmmc' Some drivers were not found Reset Source: Power-on reset has occurred. RTC 32KCLK Source: External. MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from EXT4... ** File not found /boot/uboot.env ** ** Unable to read "/boot/uboot.env" from mmc0:1 ** Board: BeagleBone Black <ethaddr> not set. Validating first E-fuse MAC BeagleBone Black: BeagleBone: cape eeprom: i2c_probe: 0x54: BeagleBone: cape eeprom: i2c_probe: 0x55: BeagleBone: cape eeprom: i2c_probe: 0x56: BeagleBone: cape eeprom: i2c_probe: 0x57: Net: eth0: MII MODE cpsw, usb_ether Press SPACE to abort autoboot in 0 seconds board_name=[A335BNLT] ... board_rev=[000C] ... 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 ... ** Invalid partition 2 ** ** Invalid partition 3 ** ** Invalid partition 4 ** ** Invalid partition 5 ** ** Invalid partition 6 ** ** Invalid partition 7 ** switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... Found /boot/extlinux/extlinux.conf Retrieving file: /boot/extlinux/extlinux.conf 254 bytes read in 14 ms (17.6 KiB/s) 1: Linux 4.19.94-ti-r42 Retrieving file: /boot/vmlinuz-4.19.94-ti-r42 10095592 bytes read in 651 ms (14.8 MiB/s) append: console=ttyO0,115200n8 root=/dev/mmcblk0 ro rootfstype=ext4 coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet Retrieving file: /boot/dtbs/4.19.94-ti-r42/am335x-boneblack.dtb 59483 bytes read in 26 ms (2.2 MiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8ffee000, end 8ffff85a ... OK Starting kernel ... [ 0.000762] timer_probe: no matching timers found [ 0.114566] l4_wkup_cm:clk:0010:0: failed to disable [ 0.766013] omap_voltage_late_init: Voltage driver support not added [ 0.977112] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,0) [ 0.985608] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.94-ti-r42 #1buster [ 0.992773] Hardware name: Generic AM33XX (Flattened Device Tree) [ 0.998937] [<c0113e18>] (unwind_backtrace) from [<c010e388>] (show_stack+0x20/0x24) [ 1.006731] [<c010e388>] (show_stack) from [<c0d20f5c>] (dump_stack+0x8c/0xa0) [ 1.013995] [<c0d20f5c>] (dump_stack) from [<c013c6f0>] (panic+0x10c/0x278) [ 1.020997] [<c013c6f0>] (panic) from [<c1401990>] (mount_block_root+0x270/0x290) [ 1.028518] [<c1401990>] (mount_block_root) from [<c1401adc>] (mount_root+0x12c/0x148) [ 1.036473] [<c1401adc>] (mount_root) from [<c1401c58>] (prepare_namespace+0x160/0x1a8) [ 1.044517] [<c1401c58>] (prepare_namespace) from [<c1401420>] (kernel_init_freeable+0x3f8/0x40c) [ 1.053433] [<c1401420>] (kernel_init_freeable) from [<c0d36484>] (kernel_init+0x18/0x128) [ 1.061739] [<c0d36484>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c) [ 1.069341] Exception stack(0xdc149fb0 to 0xdc149ff8) [ 1.074415] 9fa0: 00000000 00000000 00000000 00000000 [ 1.082630] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.090845] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 1.097509] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,0) ]--- -- 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/040b6fe2-3944-49fe-9f5c-3581ca5c6752o%40googlegroups.com.
