[U-Boot] Can't boot with initramfs but It's ok without

Clément Péron peron.clem at gmail.com
Wed Feb 21 16:16:59 UTC 2018


Hi,

I'm working on a dev board the SoC is Broadcom Cygnus with 256MiB of RAM
Booting a Kernel and device tree works fine.
But booting a Kernel with initramfs and a device tree make a strange behavior.

Don't want to say stupid things but It seems that the Kernel didn't
find the device tree and try to fall back using the ATAGS, but since I
don't use them the machine ID is not set up.

Do you have any idea of what I did wrong in my setup ?

Thanks,
Clement


----------------------------------------
U-Boot 2018.03-rc2-00036-g427c1c7280-dirty (Feb 21 2018 - 16:40:00 +0100)

U-Boot code: 61000000 -> 6103F578  BSS: -> 6104CACC
DRAM:  Monitor len: 0004CACC
Ram size: 0FA00000
Ram top: 6FA00000
TLB table from 6f9f0000 to 6f9f4000
Reserving 306k for U-Boot at: 6f9a3000
Reserving 4101k for malloc() at: 6f5a1c00
Reserving 80 Bytes for Board Info at: 6f5a1bb0
Reserving 184 Bytes for Global Data at: 6f5a1af8

RAM Configuration:
Bank #0: 60000000 250 MiB

DRAM:  250 MiB
New Stack Pointer is: 6f5a1ad0
Relocation Offset is: 0e9a3000
Relocating to 6f9a3000, new gd at 6f5a1af8, sp at 6f5a1ad0
Now running in RAM - U-Boot at: 6f9a3000
MMC:   iproc-sdhci: 0
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Net:   Registering BCM sf2 eth
Broadcom Starfighter2 Ethernet driver 0.1
Using GMAC0
gmac_mac_init: Chip ID: 0xd300
srab_interface_reset: timeout sw_init_done
devid read succesfully via srab: 0xd300
devid32: 0xd300
Basic ethernet functionality initialized
bcm_sf2_gmac-0

Hit any key to stop autoboot:  0
Booting debug
bcm_sf2_gmac-0 Waiting for PHY auto negotiation to complete........ done
Change GMAC speed to 1000MB
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
DHCP client bound to address 192.168.0.113 (4043 ms)
Change GMAC speed to 1000MB
192.168.0.3
Change GMAC speed to 1000MB
Using bcm_sf2_gmac-0 device
TFTP from server 192.168.0.3; our IP address is 192.168.0.113
Filename 'boot/zImage'.
Load address: 0x63000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################################################
         6.5 MiB/s
done
Bytes transferred = 73245400 (45da2d8 hex)
Change GMAC speed to 1000MB
Using bcm_sf2_gmac-0 device
TFTP from server 192.168.0.3; our IP address is 192.168.0.113
Filename 'boot/myboard.dtb'.
Load address: 0x62000000
Loading: #
         6.2 MiB/s
done
Bytes transferred = 25911 (6537 hex)
Kernel image @ 0x63000000 [ 0x000000 - 0x45da2d8 ]
## Flattened Device Tree blob at 62000000
   Booting using the fdt blob at 0x62000000
   Using Device Tree in place at 62000000, end 62009536

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000000).

Available machine support:

ID (hex)        NAME
ffffffff        Generic DT based system
ffffffff        Broadcom Cygnus SoC
ffffffff        Freescale i.MX6 Quad/DualLite (Device Tree)
ffffffff        Altera SOCFPGA

Please check your kernel config and/or bootloader.


More information about the U-Boot mailing list