[MinnowBoard] Boot MinnowBoard Max from SD using U-Boot
Philipp, Damian
Damian.Philipp at vector.com
Fri Apr 22 09:54:03 UTC 2016
Hello Minnowboard Gurus,
>-----Original Message-----
>From: elinux-MinnowBoard [mailto:elinux-minnowboard-
>bounces at lists.elinux.org] On Behalf Of Philipp, Damian
>Subject: [MinnowBoard] Boot MinnowBoard Max from SD using U-Boot
>The normal usecase will be to do automatic booting via network. However, I
>want to keep the option of booting from SD in case I am away from my usual
>setup, i.e., don't have access to my Netboot service.
>[...] However, I cannot get U-Boot to recognize my SD card.
After some more experimenting, I managed to *partially* solve this. In case anyone else has the same problem: Whatever is hidden behind mmc number 0 is not accessible. However, you can blindly switch to mmc 1, which will give you the SD card. In my case, the following bootcmd will load and start the kernel from the SD card:
fatload mmc 1:1 01000000 vmlinuz; zboot 01000000
However, I am now stuck later in the boot process. As stated previously, the very same SD card boots perfectly when using the original EFI firmware. Looking at the kernel output, I see the following (Full log available at http://pastebin.com/brYHKEL8):
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-acpi INT33BB:00: No vmmc regulator found
sdhci-acpi INT33BB:00: No vqmmc regulator found
mmc0: SDHCI controller on ACPI [INT33BB:00] using ADMA
sdhci-acpi 80860F16:00: failed to setup card detect gpio
sdhci-acpi 80860F16:00: No vmmc regulator found
sdhci-acpi 80860F16:00: No vqmmc regulator found
mmc1: SDHCI controller on ACPI [80860F16:00] using ADMA
mmc1: new high speed SDHC card at address 0007
mmcblk0: mmc1:0007 SD08G 7.42 GiB
mmcblk0: p1 p2 p3
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
If I boot under U-Boot, all I get is the following (Full log available at http://pastebin.com/sRABFRAL):
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pci 0000:00:11.0: SDHCI controller found [8086:0f15] (rev 11)
sdhci-pci 0000:00:11.0: assigned PCI INT A -> IRQ 5
sdhci-pci 0000:00:11.0: sharing IRQ 5 with 0000:00:02.0
sdhci-pci 0000:00:11.0: sharing IRQ 5 with 0000:00:12.0
sdhci-pci 0000:00:11.0: sharing IRQ 5 with 0000:00:13.0
sdhci-pci 0000:00:11.0: sharing IRQ 5 with 0000:00:15.0
sdhci-pci 0000:00:11.0: sharing IRQ 5 with 0000:00:18.0
sdhci-pci 0000:00:11.0: sharing IRQ 5 with 0000:00:18.4
sdhci-pci 0000:00:11.0: sharing IRQ 5 with 0000:00:1c.0
sdhci-pci 0000:00:11.0: sharing IRQ 5 with 0000:00:1d.0
sdhci-pci 0000:00:11.0: sharing IRQ 5 with 0000:00:1e.0
sdhci-pci 0000:00:11.0: No vmmc regulator found
sdhci-pci 0000:00:11.0: No vqmmc regulator found
mmc0: SDHCI controller on PCI [0000:00:11.0] using ADMA
sdhci-pci 0000:00:12.0: SDHCI controller found [8086:0f16] (rev 11)
sdhci-pci 0000:00:12.0: assigned PCI INT A -> IRQ 5
sdhci-pci 0000:00:12.0: sharing IRQ 5 with 0000:00:02.0
sdhci-pci 0000:00:12.0: sharing IRQ 5 with 0000:00:11.0
sdhci-pci 0000:00:12.0: sharing IRQ 5 with 0000:00:13.0
sdhci-pci 0000:00:12.0: sharing IRQ 5 with 0000:00:15.0
sdhci-pci 0000:00:12.0: sharing IRQ 5 with 0000:00:18.0
sdhci-pci 0000:00:12.0: sharing IRQ 5 with 0000:00:18.4
sdhci-pci 0000:00:12.0: sharing IRQ 5 with 0000:00:1c.0
sdhci-pci 0000:00:12.0: sharing IRQ 5 with 0000:00:1d.0
sdhci-pci 0000:00:12.0: sharing IRQ 5 with 0000:00:1e.0
sdhci-pci 0000:00:12.0: failed to setup card detect gpio
sdhci-pci 0000:00:12.0: No vmmc regulator found
sdhci-pci 0000:00:12.0: No vqmmc regulator found
mmc1: SDHCI controller on PCI [0000:00:12.0] using ADMA
Waiting for root device /dev/mmcblk0p2...
Unsurprisingly, the system stops at this point. As the only difference between the two systems is EFI vs. U-Boot, I still suspect that my U-Boot is not set up correctly for the hardware of the Minnowboard Max. Where can I look next for the root cause of my problem?
Thanks in advance!
Damian
-----------------------------------------------------
Software Development Engineer
RDE1
Vector Informatik GmbH
Ingersheimer Str. 24
70499 Stuttgart
Deutschland / Germany
Tel.: +49 711 80670-3656
Fax: +49 711 80670-399
mailto: Damian.Philipp at vector.com
Internet: www.vector.com
Sitz der Gesellschaft / Head Office: Stuttgart
Handelsregister / Commercial Register:
Amtsgericht Stuttgart, HRB 17317
Geschaeftsfuehrer / Managing Directors:
Dr. Thomas Beck, Thomas Riegraf
-----------------------------------------------------
More information about the elinux-MinnowBoard
mailing list