UEFI: arndale does not boot with dtb file built by myself

Asked by Jongmin Son

Hi, I'm Jongmin
I'm trying to make arndale board boot with UEFI and Linux kernel.

With pre-built UEFI and Kernel image (http://releases.linaro.org/license?lic=f66e031330624e811ce459ecd96ac884&url=12.12/ubuntu/boards/arndale/arndale-quick-image-uefi.tar.gz), the linux kernel booted successfully. While when I use kernel image and dtb file that were built by me, it does not boot. And I found that my kernel image works fine, but when I replace the dtb file with mine, it did not boot. I don't change any configuration of kernel, although. And the pre-built dtb file and my dtb file have different file size.( Mine is 3KB larger than pre-built one).

I'm using people/ronynandy/linux_stable.git git tree with lue_arndale_3.7 branch.

Is there any size limitation for device tree file? How can reduce the size of the device tree file?

Log captured when it did not boot as below:

[1] SD-MMC Booting
        - VenHw(3A02E7FE-0649-4FB4-BE4F-A862CA1872A9)/HD(1,MBR,0x000A65DC,0x19000,0x32000)/uImage
        - Arguments: root=/dev/mmcblk1p1 rw rootwait console=ttySAC2,115200n8 init --no-log
        - LoaderType: Linux kernel with global FDT
[2] SD Booting
        - VenHw(3A02E7FE-0649-4FB4-BE4F-A862CA1872A9)/HD(2,MBR,0x000A65DC,0x59B303,0x3B7C)/uImage
        - Arguments: root=/dev/mmcblk1p1 rw rootwait console=ttySAC2,115200n8 init --no-log
        - FDT: VenHw(3A02E7FE-0649-4FB4-BE4F-A862CA1872A9)/HD(2,MBR,0x000A65DC,0x59B303,0x3B7C)/exynos5250-arndale.dtb
        - LoaderType: Linux kernel with Local FDT
-----------------------
Global FDT Config
        - VenHw(3A02E7FE-0649-4FB4-BE4F-A862CA1872A9)/HD(1,MBR,0x000A65DC,0x19000,0x32000)/exynos5250-arndale.dtb
-----------------------
[a] Boot Manager
[b] Shell
Start: 2
DEBUG: FdtBlobBase=0x9F74A000, FDT_ADDITIONAL_ENTRIES_SIZE = 0
DEBUG: LINUX_FDT_MAX_OFFSET = 0x50004000
DEBUG: FDT Blob Size = 4294983824
Warning: Failed to load FDT below address 0x50004000 (Out of Resources). Will try again at a random address anywhere.
WARNING: Loaded FDT at random address 0x9F738000.
WARNING: There is a risk of accidental overwriting by other code/data.
BootArg: root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc
DEBUG: Start of StartLinux()
DEBUG: ShutdownUefiBootServices() is done successfully
DEBUG: ARM_FDT_MACHINE_TYPE check is done successfully
DEBUG: Copying LinuxImage [0x57D83000] is done successfully
DEBUG: PreparePlatformHardware() is done successfully
   PEI 0 ms
   DXE 18446744072207 ms
   BDS 18446739780545 ms
   BDS 18446744072691 ms
Total Time = 18446739778026 ms

Starting the kernel:

MachineType = 0xFFFFFFFF
Uncompressing Linux... done, booting the kernel.

Thank you in advance.
Jongmin

Question information

Language:
English Edit question
Status:
Answered
For:
Arndale Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jongmin Son (jongmin-son) said :
#1

With the lue_arndale branch in the linux_stable.git repository, it works. The size of the exynos5250-arndale.dtb is built with the same size with the one of the pre-built image (13KB)
Does the lue_arndale_3.7 branch not work with the UEFI?

Revision history for this message
Rony Nandy (rony-nandy) said :
#2

This was bug due to which dtb size more than 16KB could not be accomodated.Now the bug is fixed by the bug report #1124178 .
Please use http://git.linaro.org/gitweb?p=arm/uefi/uefi-next.git;a=shortlog;h=refs/heads/linaro-tracking-2013.02 .

Revision history for this message
Rony Nandy (rony-nandy) said :
#3

The bug fix patch is already applied in the above pasted tree

Can you help with this problem?

Provide an answer of your own, or ask Jongmin Son for more information if necessary.

To post a message you must log in.