On Tue, Apr 3, 2018 at 5:11 PM, Sebastián Sáez <
otr...@gmail.com> wrote:
> thank!, I do the cmd but now the linux is not booting
>
> this is the serial log
>>>
>>> U-Boot SPL 2018.01-00002-g9aa111a004 (Jan 20 2018 - 12:45:29)
>>>
>>> Trying to boot from MMC1
>>>
>>>
>>>
>>> U-Boot 2018.01-00002-g9aa111a004 (Jan 20 2018 - 12:45:29 -0600), Build:
>>> jenkins-github_Bootloader-Builder-32
>>>
>>>
>>> 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.
>>>
>>> MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
>>>
>>> Using default environment
>>>
>>>
>>> Board: BeagleBone Black
>>>
>>> <ethaddr> not set. Validating first E-fuse MAC
>>>
>>> BeagleBone Black:
>>>
>>> Model: SeeedStudio BeagleBone Green Wireless:
>>>
>>> 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
>>>
>>> Could not get PHY for cpsw: addr 0
>>>
>>> cpsw, usb_ether
>>>
>>> Press SPACE to abort autoboot in 2 seconds
>>>
>>> board_name=[A335BNLT] ...
>>>
>>> board_rev=[GW1A] ...
>>>
>>> switch to partitions #0, OK
>>>
>>> mmc0 is current device
>>>
>>> SD/MMC found on device 0
>>>
>>> ** Bad device 0:2 0x82000000 **
>>>
>>> ** Bad device 0:2 0x82000000 **
>>>
>>> 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
>>>
>>> 1867 bytes read in 43 ms (42 KiB/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-4.4.125-bone22 ...
>>>
>>> 8506344 bytes read in 587 ms (13.8 MiB/s)
>>>
>>> uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot.dtb] ...
>>>
>>> uboot_overlays: Switching too: dtb=am335x-boneblack-uboot.dtb ...
>>>
>>> loading /boot/dtbs/4.4.125-bone22/am335x-boneblack-uboot.dtb ...
>>>
>>> 50339 bytes read in 79 ms (622.1 KiB/s)
>>>
>>> uboot_overlays: [fdt_buffer=0x60000] ...
>>>
>>> uboot_overlays: loading /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo ...
>>>
>>> 1440 bytes read in 179 ms (7.8 KiB/s)
>>>
>>> uboot_overlays: loading /lib/firmware/BB-BBGW-WL1835-00A0.dtbo ...
>>>
>>> 4839 bytes read in 69 ms (68.4 KiB/s)
>>>
>>> failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
>>>
>>> uboot_overlays: loading /lib/firmware/BB-ADC-00A0.dtbo ...
>>>
>>> 711 bytes read in 219 ms (2.9 KiB/s)
>>>
>>> libfdt fdt_check_header(): FDT_ERR_BADMAGIC
>>>
>>> failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC
>>>
>>> base fdt does did not have a /__symbols__ node
>>>
>>> make sure you've compiled with -@
>>>
>>> uboot_overlays: loading /lib/firmware/AM335X-PRU-UIO-00A0.dtbo ...
>>>
>>> 883 bytes read in 162 ms (4.9 KiB/s)
>>>
>>> libfdt fdt_check_header(): FDT_ERR_BADMAGIC
>>>
>>> failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC
>>>
>>> base fdt does did not have a /__symbols__ node
>>>
>>> make sure you've compiled with -@
>>>
>>> uboot_overlays: loading /lib/firmware/univ-bbgw-EW-00A0.dtbo ...
>>>
>>> 82622 bytes read in 89 ms (906.3 KiB/s)
>>>
>>> libfdt fdt_check_header(): FDT_ERR_BADMAGIC
>>>
>>> failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC
>>>
>>> base fdt does did not have a /__symbols__ node
>>>
>>> make sure you've compiled with -@
>>>
>>> loading /boot/initrd.img-4.4.125-bone22 ...
>>>
>>> 5415890 bytes read in 392 ms (13.2 MiB/s)
>>>
>>> debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1
>>> root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M
>>> net.ifnames=0 quiet] ...
>>>
>>> debug: [bootz 0x82000000 0x88080000:52a3d2 88000000] ...
>>>
>>> ERROR: Did not find a cmdline Flattened Device Tree
>>>
>>> Could not find a valid device tree
Okay that was weird, i'll retest that tomorrow at work..
4.4.125-bone22 + u-boot overlays should work..
<weird>
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
failed on fdt_overlay_apply(): FDT_ERR_BADMAGIC
base fdt does did not have a /__symbols__ node
make sure you've compiled with -@
</end>
They were compiled with -@ wonder what failed...