[U-Boot] [PATCH v4 0/9] LS2080ARDB: Enable EFI boot support

Alexander Graf agraf at suse.de
Thu Jun 23 14:39:36 CEST 2016



On 23.06.16 12:34, Prabhakar Kushwaha wrote:
> Hi Alex,
> 
> Please find logs attached.
> 
> Regards,
> Prabhakar
> 
> 
>> > -----Original Message-----
>> > From: Alexander Graf [mailto:agraf at suse.de]
>> > Sent: Thursday, June 23, 2016 1:04 PM
>> > To: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>
>> > Cc: u-boot at lists.denx.de; york sun <york.sun at nxp.com>
>> > Subject: Re: [PATCH v4 0/9] LS2080ARDB: Enable EFI boot support
>> > 
>> > 
>> > 
>>> > > Am 23.06.2016 um 07:30 schrieb Prabhakar Kushwaha
>> > <prabhakar.kushwaha at nxp.com>:
>>> > >
>>> > > Hi Alex,
>>> > >
>>>> > >> -----Original Message-----
>>>> > >> From: Alexander Graf [mailto:agraf at suse.de]
>>>> > >> Sent: Tuesday, June 21, 2016 4:37 AM
>>>> > >> To: u-boot at lists.denx.de
>>>> > >> Cc: york sun <york.sun at nxp.com>; Prabhakar Kushwaha
>>>> > >> <prabhakar.kushwaha at nxp.com>
>>>> > >> Subject: [PATCH v4 0/9] LS2080ARDB: Enable EFI boot support
>>>> > >>
>>>> > >> We now have EFI support in U-Boot which worked out of the box on all
>>>> > >> systems that I tried it on so far. Except for the LS2080ARDB. With
>>>> > >> this patch set I can successfully boot grub2 and Linux from there on
>>>> > >> such a system - even using PXE.
>>>> > >>
>>>> > >> v3 -> v4:
>>>> > >>
>>>> > >>  - Add CONFIG_CMD_FS_GENERIC to defconfig
>>>> > >>  - Move code into generic quiesce weak function
>>>> > >>  - Exit device for real when going to Linux
>>>> > >>  - Only apply DPL if we have something to apply
>>>> > >>  - New: armv8: ls2080a: Declare spin tables as reserved for efi
>>>> > >> loader
>>>> > >>  - New: efi_loader: Allow boards to implement get_time and
>>>> > >> reset_system
>>>> > >>  - New: armv8: fsl-layerscape: Add support for efi_loader RTS reset
>>>> > >>  - New: efi_loader: Declare secure memory as reserved
>>>> > >>  - New: efi_loader: Allow bouncing for network
>>>> > >>
>>>> > >> Alexander Graf (9):
>>>> > >>  ls2080: Exit dpaa only right before exiting U-Boot
>>>> > >>  efi_loader: AArch64: Run EFI payloads in EL2 if U-Boot runs in EL3
>>>> > >>  ls2080ardb: Reserve DP-DDR RAM
>>>> > >>  ls2080ardb: Convert to distro boot
>>>> > >>  armv8: ls2080a: Declare spin tables as reserved for efi loader
>>>> > >>  efi_loader: Allow boards to implement get_time and reset_system
>>>> > >>  armv8: fsl-layerscape: Add support for efi_loader RTS reset
>>>> > >>  efi_loader: Declare secure memory as reserved
>>>> > >>  efi_loader: Allow bouncing for network
>>>> > >>
>>>> > >> arch/arm/cpu/armv8/fsl-layerscape/cpu.c  |  33 +++++++++-
>>>> > >> arch/arm/cpu/armv8/fsl-layerscape/fdt.c  |   6 ++
>>>> > >> arch/arm/include/asm/armv8/mmu.h         |  19 +++---
>>>> > >> arch/arm/include/asm/u-boot-arm.h        |   1 +
>>>> > >> arch/arm/lib/bootm.c                     |   7 +++
>>>> > >> board/freescale/ls2080a/ls2080a.c        |   6 +-
>>>> > >> board/freescale/ls2080aqds/ls2080aqds.c  |  11 ++--
>>>> > >> board/freescale/ls2080ardb/ls2080ardb.c  |  20 ++++--
>>>> > >> cmd/bootefi.c                            |  15 +++++
>>>> > >> configs/ls2080a_emu_defconfig            |   1 +
>>>> > >> configs/ls2080a_simu_defconfig           |   1 +
>>>> > >> configs/ls2080aqds_SECURE_BOOT_defconfig |   1 +
>>>> > >> configs/ls2080aqds_defconfig             |   1 +
>>>> > >> configs/ls2080aqds_nand_defconfig        |   1 +
>>>> > >> configs/ls2080ardb_SECURE_BOOT_defconfig |   1 +
>>>> > >> configs/ls2080ardb_defconfig             |   1 +
>>>> > >> configs/ls2080ardb_nand_defconfig        |   1 +
>>>> > >> drivers/net/fsl-mc/mc.c                  |  24 +++++++-
>>>> > >> include/configs/ls2080ardb.h             |  26 +++++++-
>>>> > >> include/efi_loader.h                     |  18 ++++++
>>>> > >> lib/efi_loader/efi_boottime.c            |   2 +
>>>> > >> lib/efi_loader/efi_memory.c              |  15 +++++
>>>> > >> lib/efi_loader/efi_net.c                 |   7 +++
>>>> > >> lib/efi_loader/efi_runtime.c             | 101
>> > +++++++++++++++++++++++++++-
>>>> > >> ---
>>> > >
>>> > > I am testing your patch set on ls2080ardb.
>>> > > Observation:-
>>> > > 1. Linux boot no more crashing with e1000#0, DPMAC5 at XSGMII. Even tried
>> > with default bootcmd.
>>> > > 2. Grub2 crash while booting :(
>>> > >
>>> > > I have applied your patch on top of commit "
>> > 9f823615af919c6b89f0b80197f009f78299dcde"
>>> > >
>>> > > Please find log below.
>>> > >
>>> > >
>>> > > => usb start
>>> > > starting USB...
>>> > > USB0:   Register 200017f NbrPorts 2
>>> > > Starting the controller
>>> > > USB XHCI 1.00
>>> > > scanning bus 0 for devices... 2 USB Device(s) found
>>> > > USB1:   Register 200017f NbrPorts 2
>>> > > Starting the controller
>>> > > USB XHCI 1.00
>>> > > scanning bus 1 for devices... 1 USB Device(s) found
>>> > >       scanning usb for storage devices... 1 Storage Device(s) found =>
>>> > > edit ethact
>>> > > edit: DPMAC5 at xgmii
>>> > > => tftp 0x80000000 fsl-ls2080a-rdb.dtb; fdt addr 0x80000000; fdt
>>> > > boardsetup;tftp 0xa0000000 grubaa64.efi; bootefi a0000000 0x80000000
>>> > > Using DPMAC5 at xgmii device TFTP from server 192.168.1.1; our IP address
>>> > > is 192.168.1.34 Filename 'fsl-ls2080a-rdb.dtb'.
>>> > > Load address: 0x80000000
>>> > > Loading: ###
>>> > >         2 KiB/s
>>> > > done
>>> > > Bytes transferred = 10549 (2935 hex)
>>> > > WARNING: could not set reg FDT_ERR_NOSPACE.
>>> > > ERROR: could not set fsl,usb-erratum-a008751 for snps,dwc3:
>> > FDT_ERR_NOSPACE.
>>> > > ERROR: could not set fsl,usb-erratum-a008751 for snps,dwc3:
>> > FDT_ERR_NOSPACE.
>>> > > Using DPMAC5 at xgmii device
>>> > > TFTP from server 192.168.1.1; our IP address is 192.168.1.34 Filename
>>> > > 'grubaa64.efi'.
>>> > > Load address: 0xa0000000
>>> > > Loading:
>> > ##########################################################
>> > #######
>>> > >
>> > ##########################################################
>> > #######
>>> > >         ###########################################
>>> > >         85.9 KiB/s
>>> > > done
>>> > > Bytes transferred = 884224 (d7e00 hex) ## Starting EFI application at
>>> > > 0xa0000000 ...
>>> > > Scanning disks on scsi...
>>> > > Scanning disks on usb...
>>> > > Scanning disks on mmc...
>>> > > MMC: no card present
>>> > > MMC Device 1 not found
>>> > > MMC Device 2 not found
>>> > > MMC Device 3 not found
>>> > > Found 4 disks
>> > 
>> > So it crashes in U-Boot disk enumeration code ...
>> > 
>>> > > "Synchronous Abort" handler, esr 0x8a000000
>>> > > ELR:     97ffeee9d5033fdf
>> > 
>> > ... trying to access an instruction that is completely bogus.
>> > 
>> > Can you please add #define DEBUG at the beginning of efi_disk.c and try to
>> > isolate where it crashes from there?
>> > 
>> > Alex
>> > 
> 
> 
> log.txt
> 
> 
> U-Boot 2016.07-rc2-00026-gd11e29d-dirty (Jun 23 2016 - 15:58:26 +0530)
> 
> SoC:  LS2085E (0x87010010)
> Clock Configuration:
>        CPU0(A57):1800 MHz  CPU1(A57):1800 MHz  CPU2(A57):1800 MHz
>        CPU3(A57):1800 MHz  CPU4(A57):1800 MHz  CPU5(A57):1800 MHz
>        CPU6(A57):1800 MHz  CPU7(A57):1800 MHz
>        Bus:      500  MHz  DDR:      1866.667 MT/s     DP-DDR:   1600 MT/s
> Reset Configuration Word (RCW):
>        00000000: 48303828 48480048 00000000 00000000
>        00000010: 00000000 00200000 00200000 00000000
>        00000020: 01012980 00002580 00000000 00000000
>        00000030: 00000e0b 00000000 00000000 00000000
>        00000040: 00000000 00000000 00000000 00000000
>        00000050: 00000000 00000000 00000000 00000000
>        00000060: 00000000 00000000 00027000 00000000
>        00000070: 412a0000 00000000 00000000 00000000
> Model: Freescale Layerscape 2080a RDB Board
> Board: LS2085E-RDB, Board Arch: V1, Board version: D, boot from vBank: 4
> FPGA: v1.20
> SERDES1 Reference : Clock1 = 156.25MHz Clock2 = 156.25MHz
> SERDES2 Reference : Clock1 = 100MHz Clock2 = 100MHz
> I2C:   ready
> DRAM:  Initializing DDR....using SPD
> Detected UDIMM 18ASF1G72AZ-2G1A1
> Detected UDIMM 18ASF1G72AZ-2G1A1
> DP-DDR:  Detected UDIMM 18ASF1G72AZ-2G1A1
> 19 GiB
> DDR    15 GiB (DDR4, 64-bit, CL=13, ECC on)
>        DDR Controller Interleaving Mode: 256B
>        DDR Chip-Select Interleaving Mode: CS0+CS1
> DP-DDR 4 GiB (DDR4, 32-bit, CL=11, ECC on)
>        DDR Chip-Select Interleaving Mode: CS0+CS1
> Waking secondary cores to start from ffefb000
> All (8) cores are up.
> Using SERDES1 Protocol: 42 (0x2a)
> Using SERDES2 Protocol: 65 (0x41)
> Flash: 128 MiB
> NAND:  2048 MiB
> MMC:   FSL_SDHC: 0
> *** Warning - bad CRC, using default environment
> 
> EEPROM: NXID v1
> PCIe1: disabled
> PCIe2: disabled
> PCIe3: Root Complex x1 gen1, regs @ 0x3600000
> PCI:
>      01:00.0    - 8086:10d3 - Network controller
> PCIe3: Bus 00 - 01
> PCIe4: Root Complex no link, regs @ 0x3700000
> In:    serial
> Out:   serial
> Err:   serial
> Debug Server FW: Not a FIT image
> SEC0: RNG instantiated
> SATA link 0 timeout.
> AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
> flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst
> Found 0 device(s).
> SCSI:  Net:   crc32+
> fsl-mc: Booting Management Complex ... SUCCESS
> fsl-mc: Management Complex booted (version: 9.0.6, boot status: 0x1)
> e1000: 68:05:ca:36:94:8c
>        DPMAC1 at xgmii [PRIME]
> Warning: DPMAC1 at xgmii (eth0) using random MAC address - ca:0a:bf:68:4c:60
> , DPMAC2 at xgmii
> Warning: DPMAC2 at xgmii (eth1) using random MAC address - de:23:02:2f:dd:94
> , DPMAC3 at xgmii
> Warning: DPMAC3 at xgmii (eth2) using random MAC address - d6:2b:2b:55:51:98
> , DPMAC4 at xgmii
> Warning: DPMAC4 at xgmii (eth3) using random MAC address - ee:70:d6:f5:b8:90
> , DPMAC5 at xgmii
> Warning: DPMAC5 at xgmii (eth4) using random MAC address - e6:78:ff:8f:34:9c
> , DPMAC6 at xgmii
> Warning: DPMAC6 at xgmii (eth5) using random MAC address - be:85:aa:93:8f:0d
> , DPMAC7 at xgmii
> Warning: DPMAC7 at xgmii (eth6) using random MAC address - b6:8d:83:e9:03:01
> , DPMAC8 at xgmii
> Warning: DPMAC8 at xgmii (eth7) using random MAC address - 8e:d6:7e:49:ea:09
> , e1000#0
> Hit any key to stop autoboot:  0
> =>
> =>
> =>
> =>
> => edit ethact
> edit: e1000#0
> => edit ethprime
> edit: e1000#0
> => sav
> Unknown command 'sav' - try 'help'
> => saveenv
> Saving Environment to Flash...
> Un-Protected 1 sectors
> Erasing Flash...
> . done
> Erased 1 sectors
> Writing to Flash... 9....8....7....6....5....4....3....2....1....9....8....7....6....5....4....3....2....1....done
> Protected 1 sectors
> => usb start
> starting USB...
> USB0:   Register 200017f NbrPorts 2
> Starting the controller
> USB XHCI 1.00
> scanning bus 0 for devices... 2 USB Device(s) found
> USB1:   Register 200017f NbrPorts 2
> Starting the controller
> USB XHCI 1.00
> scanning bus 1 for devices... 1 USB Device(s) found
>        scanning usb for storage devices... 1 Storage Device(s) found
> =>
> => All (8) cores are up.<INTERRUPT>
> => tftp 0x80000000 fsl-ls2080a-rdb.dtb; fdt addr 0x80000000; fdt boardsetup;tftp 0xa0000000 grubaa64.efi; bootefi a0000000 0x80000000
> *** ERROR: `serverip' not set
> libfdt fdt_check_header(): FDT_ERR_BADMAGIC
> No FDT memory address configured. Please configure
> the FDT address via "fdt addr <address>" command.
> Aborting!
> *** ERROR: `serverip' not set
> ## Starting EFI application at 0xa0000000 ...
> WARNING: Invalid device tree, expect boot to fail
> efi_load_pe: Invalid DOS Signature
> ## Application terminated, r = -2
> => edit serverip
> edit: 192.168.1.1
> => edit ipaddr
> edit: 192.168.1.34
> => sav
> Unknown command 'sav' - try 'help'
> => save
>   save saveenv
> => save
> save - save file to a filesystem
> 
> Usage:
> save <interface> <dev[:part]> <addr> <filename> bytes [pos]
>     - Save binary file 'filename' to partition 'part' on device
>       type 'interface' instance 'dev' from addr 'addr' in memory.
>       'bytes' gives the size to save in bytes and is mandatory.
>       'pos' gives the file byte position to start writing to.
>       If 'pos' is 0 or omitted, the file is written from the start.
> => saven
> Unknown command 'saven' - try 'help'
> => saveenv
> Saving Environment to Flash...
> Un-Protected 1 sectors
> Erasing Flash...
> . done
> Erased 1 sectors
> Writing to Flash... 9....8....7....6....5....4....3....2....1....9....8....7....6....5....4....3....2....1....done
> Protected 1 sectors
> => tftp 0x80000000 fsl-ls2080a-rdb.dtb; fdt addr 0x80000000; fdt boardsetup;tftp 0xa0000000 grubaa64.efi; bootefi a0000000 0x80000000
> Using e1000#0 device
> TFTP from server 192.168.1.1; our IP address is 192.168.1.34
> Filename 'fsl-ls2080a-rdb.dtb'.
> Load address: 0x80000000
> Loading: ###
>          735.4 KiB/s
> done
> Bytes transferred = 10549 (2935 hex)
> WARNING: could not set reg FDT_ERR_NOSPACE.
> ERROR: could not set fsl,usb-erratum-a008751 for snps,dwc3: FDT_ERR_NOSPACE.
> ERROR: could not set fsl,usb-erratum-a008751 for snps,dwc3: FDT_ERR_NOSPACE.
> Using e1000#0 device
> TFTP from server 192.168.1.1; our IP address is 192.168.1.34
> Filename 'grubaa64.efi'.
> Load address: 0xa0000000
> Loading: #################################################################
>          #################################################################
>          ###########################################
>          1.5 MiB/s
> done
> Bytes transferred = 884224 (d7e00 hex)
> ## Starting EFI application at 0xa0000000 ...
> Scanning disks on scsi...
> Scanning disks on usb...
> Scanning disks on mmc...
> MMC: no card present
> MMC Device 1 not found
> MMC Device 2 not found
> MMC Device 3 not found
> Found 4 disks
> do_bootefi_exec:225 Jumping to 0xfac1d400
> 00000000fff87380, 00000000fac28c10, 00000000ffcf4d18, 00000000fff87380, 0000000000000000, 0x2EFI: Entry efi_cin_get_mode(00000000fff6b1a0, 00000000ffcf4d3c, 0000000000000000, 0000000000000000)
> EFI: Entry efi_cin_get_mode(00000000fff6b1a0, 00000000ffcf4d1c, 0000000000000000, 0000000000000000)
> EFI: Entry efi_cout_enable_cursor(00000000fff6b150, 1)
> EFI: Entry efi_net_initialize(00000000ffd1b958, 0, 0)
> EFI: Entry efi_cout_set_attribute(00000000fff6b150, 7)
> EFI: Entry efi_cout_set_attribute(00000000fff6b150, 7)
> EFI: Entry efi_net_initialize(00000000ffd1b958, 0, 0)
> EFI: Entry efi_cout_set_attribute(00000000fff6b150, 0)
> EFI: Entry efi_cout_clear_screen(00000000fff6b150)
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> EFI: Entry efi_cout_set_attribute(00000000fff6b150, 0)
> EFI: Entry efi_cout_enable_cursor(00000000fff6b150, 1)
> EFI: Entry efi_cout_query_mode(00000000fff6b150, 0, 00000000ffcf4d00, 00000000ffcf4d08)
> EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4ab0)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4ab0)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4ab0)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4ab0)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4ab0)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4ab0)
>  EFI: Entry efi_cout_query_mode(00000000fff6b150, 0, 00000000ffcf4b50, 00000000ffcf4b58)
> EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> MEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> nEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> mEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> aEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> lEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> BEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> AEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> SEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> HEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> -EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> lEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> kEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> lEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> nEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> dEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> tEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> nEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> gEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> uEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> pEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> pEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> oEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> rEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> tEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> dEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> .EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> FEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> oEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> rEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> tEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> hEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> fEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> rEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> tEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> wEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> oEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> rEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> dEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> ,EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> TEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> AEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> BEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> lEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> tEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> pEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> oEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> bEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> lEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> cEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> oEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> mEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> mEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> aEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> nEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> dEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> cEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> oEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> mEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> pEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> lEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> tEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> oEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> nEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> .EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> AEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> nEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> yEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> wEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> hEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> rEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> lEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> TEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> AEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> BEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> lEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> tEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> pEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> oEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> bEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> lEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> dEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> vEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> cEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> oEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> rEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> fEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> lEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> cEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> oEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> mEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> pEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> lEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> eEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> tEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> iEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> oEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> nEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> sEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
> .EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a90)
>  EFI: Entry efi_cout_query_mode(00000000fff6b150, 0, 00000000ffcf4b10, 00000000ffcf4b18)
> EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4a40)
>  EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4c20)
> 
> EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4c20)
> EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4c20)
> 
> EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4c20)
> EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4c20)
> 
> EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4c20)
> EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4b50)
> 
> EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4b50)
> EFI: Entry efi_cout_query_mode(00000000fff6b150, 0, 00000000ffcf4a50, 00000000ffcf4a58)
> EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4990)
> gEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4990)
> rEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4990)
> uEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4990)
> bEFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4990)
>> >EFI: Entry efi_cout_query_mode(00000000fff6b150, 0, 00000000ffcf4a50, 00000000ffcf4a58)
> EFI: Entry efi_cout_output_string(00000000fff6b150, 00000000ffcf4990)
>  EFI: Entry efi_cout_query_mode(00000000fff6b150, 0, 00000000ffcf4c10, 00000000ffcf4c18)
> EFI: Entry efi_cout_query_mode(00000000fff6b150, 0, 00000000ffcf4c10, 00000000ffcf4c18)
> "Synchronous Abort" handler, esr 0x96000005
> ELR:     fff1cafc
> LR:      fff63410

Ok, this one is different. Here grub2 reaches its shell and then crashes
inside of grub2 code.

Sounds like memory corruption somewhere maybe? Can you please try to see
if increasing the malloc area helps?


Alex


More information about the U-Boot mailing list