<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Layerscapeのトピック[ls1028a] not bootable with UEFI flow</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1028a-not-bootable-with-UEFI-flow/m-p/1963399#M14936</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;I was trying to boot ls1028ardb with UEFI flow, and there is an error in U-Boot: `&lt;STRONG&gt;Cannot use 64 bit addresses with SDMA&lt;/STRONG&gt;`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;U-Boot 2022.04-g18185931 (Sep 11 2024 - 13:15:30 +0800)

SoC:  LS1028AE Rev1.0 (0x870b0010)
Clock Configuration:
       CPU0(A72):1500 MHz  CPU1(A72):1500 MHz  
       Bus:      400  MHz  DDR:      1600 MT/s
Reset Configuration Word (RCW):
       00000000: 3c004010 00000030 00000000 00000000
       00000010: 00000000 018f0000 0030c000 00000000
       00000020: 020031a0 00002580 00000000 00003296
       00000030: 00000000 00000010 00000000 00000000
       00000040: 00000000 00000000 00000000 00000000
       00000050: 00000000 00000000 00000000 00000000
       00000060: 00000000 00000000 200e705a 00000000
       00000070: bb580000 00000000
Model: LS1028A RDB Board
Board: LS1028AE Rev1.0-RDB, Version: C, boot from SD
FPGA: v8 (RDB)
SERDES1 Reference : Clock1 = 100.00MHz Clock2 = 100.00MHz
DRAM:  3.9 GiB
DDR    3.9 GiB (DDR4, 32-bit, CL=11, ECC on)
Using SERDES1 Protocol: 47960 (0xbb58)
PCIe1: pcie@3400000 Root Complex: no link
PCIe2: pcie@3500000 Root Complex: x1 gen2
Core:  45 devices, 22 uclasses, devicetree: separate
WDT:   Started watchdog@c000000 with servicing (60s timeout)
WDT:   Started watchdog@c010000 with servicing (60s timeout)
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

EEPROM: Invalid ID (ff ff ff ff)
In:    serial
Out:   serial
Err:   serial
SEC0:  RNG instantiated
Net:   
Warning: enetc-0 (eth0) using random MAC address - d2:9b:a5:37:7b:b5
eth0: enetc-0
Warning: enetc-2 (eth1) using random MAC address - ca:57:11:de:de:cb
, eth1: enetc-2, eth2: swp0, eth3: swp1, eth4: swp2, eth5: swp3
Hit any key to stop autoboot:  0 
Trying load HDP firmware from SD..
switch to partitions #0, OK
mmc0 is current device
Device: FSL_SDHC
Manufacturer ID: 9f
OEM: 5449
Name: SD32G 
Bus Speed: 50000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 28.9 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

MMC read: dev # 0, block # 18944, count 512 ... 512 blocks read: OK
Loading hdp firmware from 0x00000000a0000000 offset 0x0000000000002000
Loading hdp firmware Complete
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
** Unable to read file / **
Failed to load '/'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk mmc@2140000.blk...
Scanning disk mmc@2150000.blk...
Found 7 disks
ERROR: invalid device tree
Found EFI removable media binary efi/boot/bootaa64.efi
981992 bytes read in 44 ms (21.3 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
WARNING could not find node vivante,gc: FDT_ERR_NOTFOUND.
Booting /efi\boot\bootaa64.efi
Cannot use 64 bit addresses with SDMA
Error reading cluster
** Unable to read file /efi/boot/grubaa64.efi **
Unexpected return from initial read: Device Error, buffersize 29D790
Failed to load image ぀￢ : Device Error
start_image() returned Device Error
## Application failed, r = 7
EFI LOAD FAILED: continuing...
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
** Unable to read file / **
Failed to load '/'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
BootOrder not defined
EFI boot manager: Cannot load any image
Scanning mmc 1:2...
** Unable to read file / **
Failed to load '/'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
BootOrder not defined
EFI boot manager: Cannot load any image
starting USB...
Bus usb@3100000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
Bus usb@3110000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@3100000 for devices... 1 USB Device(s) found
scanning bus usb@3110000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
Trying load from SD ...
switch to partitions #0, OK
mmc0 is current device
Device: FSL_SDHC
Manufacturer ID: 9f
OEM: 5449
Name: SD32G 
Bus Speed: 50000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 28.9 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

MMC read: dev # 0, block # 32768, count 81920 ... 81920 blocks read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=&amp;gt; &amp;lt;INTERRUPT&amp;gt;
=&amp;gt; &amp;lt;INTERRUPT&amp;gt;
=&amp;gt; &amp;lt;INTERRUPT&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I found that this &lt;A href="https://github.com/u-boot/u-boot/commit/361a422b905052dcbcba61fc1e0d8d804fdca433" target="_self"&gt;commit&lt;/A&gt; added a new config called&amp;nbsp;&lt;STRONG&gt;CONFIG_FSL_ESDHC_SUPPORT_ADMA2&lt;/STRONG&gt;. After adding it in the &lt;STRONG&gt;ls1028ardb_tfa_defconfig&lt;/STRONG&gt;, I am able to make ls1028ardb boot with UEFI flow without obvious issue, so I am wondering if NXP can confirmed that adding this config is the correct approach? and is there any concern or potential regression that it may brings?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2024 08:33:50 GMT</pubDate>
    <dc:creator>AristoChen</dc:creator>
    <dc:date>2024-09-27T08:33:50Z</dc:date>
    <item>
      <title>[ls1028a] not bootable with UEFI flow</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028a-not-bootable-with-UEFI-flow/m-p/1963399#M14936</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;I was trying to boot ls1028ardb with UEFI flow, and there is an error in U-Boot: `&lt;STRONG&gt;Cannot use 64 bit addresses with SDMA&lt;/STRONG&gt;`&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;U-Boot 2022.04-g18185931 (Sep 11 2024 - 13:15:30 +0800)

SoC:  LS1028AE Rev1.0 (0x870b0010)
Clock Configuration:
       CPU0(A72):1500 MHz  CPU1(A72):1500 MHz  
       Bus:      400  MHz  DDR:      1600 MT/s
Reset Configuration Word (RCW):
       00000000: 3c004010 00000030 00000000 00000000
       00000010: 00000000 018f0000 0030c000 00000000
       00000020: 020031a0 00002580 00000000 00003296
       00000030: 00000000 00000010 00000000 00000000
       00000040: 00000000 00000000 00000000 00000000
       00000050: 00000000 00000000 00000000 00000000
       00000060: 00000000 00000000 200e705a 00000000
       00000070: bb580000 00000000
Model: LS1028A RDB Board
Board: LS1028AE Rev1.0-RDB, Version: C, boot from SD
FPGA: v8 (RDB)
SERDES1 Reference : Clock1 = 100.00MHz Clock2 = 100.00MHz
DRAM:  3.9 GiB
DDR    3.9 GiB (DDR4, 32-bit, CL=11, ECC on)
Using SERDES1 Protocol: 47960 (0xbb58)
PCIe1: pcie@3400000 Root Complex: no link
PCIe2: pcie@3500000 Root Complex: x1 gen2
Core:  45 devices, 22 uclasses, devicetree: separate
WDT:   Started watchdog@c000000 with servicing (60s timeout)
WDT:   Started watchdog@c010000 with servicing (60s timeout)
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

EEPROM: Invalid ID (ff ff ff ff)
In:    serial
Out:   serial
Err:   serial
SEC0:  RNG instantiated
Net:   
Warning: enetc-0 (eth0) using random MAC address - d2:9b:a5:37:7b:b5
eth0: enetc-0
Warning: enetc-2 (eth1) using random MAC address - ca:57:11:de:de:cb
, eth1: enetc-2, eth2: swp0, eth3: swp1, eth4: swp2, eth5: swp3
Hit any key to stop autoboot:  0 
Trying load HDP firmware from SD..
switch to partitions #0, OK
mmc0 is current device
Device: FSL_SDHC
Manufacturer ID: 9f
OEM: 5449
Name: SD32G 
Bus Speed: 50000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 28.9 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

MMC read: dev # 0, block # 18944, count 512 ... 512 blocks read: OK
Loading hdp firmware from 0x00000000a0000000 offset 0x0000000000002000
Loading hdp firmware Complete
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
** Unable to read file / **
Failed to load '/'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Scanning disk mmc@2140000.blk...
Scanning disk mmc@2150000.blk...
Found 7 disks
ERROR: invalid device tree
Found EFI removable media binary efi/boot/bootaa64.efi
981992 bytes read in 44 ms (21.3 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
WARNING could not find node vivante,gc: FDT_ERR_NOTFOUND.
Booting /efi\boot\bootaa64.efi
Cannot use 64 bit addresses with SDMA
Error reading cluster
** Unable to read file /efi/boot/grubaa64.efi **
Unexpected return from initial read: Device Error, buffersize 29D790
Failed to load image ぀￢ : Device Error
start_image() returned Device Error
## Application failed, r = 7
EFI LOAD FAILED: continuing...
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
** Unable to read file / **
Failed to load '/'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
BootOrder not defined
EFI boot manager: Cannot load any image
Scanning mmc 1:2...
** Unable to read file / **
Failed to load '/'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
BootOrder not defined
EFI boot manager: Cannot load any image
starting USB...
Bus usb@3100000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
Bus usb@3110000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@3100000 for devices... 1 USB Device(s) found
scanning bus usb@3110000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
Trying load from SD ...
switch to partitions #0, OK
mmc0 is current device
Device: FSL_SDHC
Manufacturer ID: 9f
OEM: 5449
Name: SD32G 
Bus Speed: 50000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 28.9 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

MMC read: dev # 0, block # 32768, count 81920 ... 81920 blocks read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=&amp;gt; &amp;lt;INTERRUPT&amp;gt;
=&amp;gt; &amp;lt;INTERRUPT&amp;gt;
=&amp;gt; &amp;lt;INTERRUPT&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I found that this &lt;A href="https://github.com/u-boot/u-boot/commit/361a422b905052dcbcba61fc1e0d8d804fdca433" target="_self"&gt;commit&lt;/A&gt; added a new config called&amp;nbsp;&lt;STRONG&gt;CONFIG_FSL_ESDHC_SUPPORT_ADMA2&lt;/STRONG&gt;. After adding it in the &lt;STRONG&gt;ls1028ardb_tfa_defconfig&lt;/STRONG&gt;, I am able to make ls1028ardb boot with UEFI flow without obvious issue, so I am wondering if NXP can confirmed that adding this config is the correct approach? and is there any concern or potential regression that it may brings?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 08:33:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028a-not-bootable-with-UEFI-flow/m-p/1963399#M14936</guid>
      <dc:creator>AristoChen</dc:creator>
      <dc:date>2024-09-27T08:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: [ls1028a] not bootable with UEFI flow</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028a-not-bootable-with-UEFI-flow/m-p/1965465#M14952</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;A id="link_5" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209667" target="_self" aria-label="View Profile of AristoChen"&gt;&lt;SPAN class=""&gt;AristoChen&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I have reviewed the commit you mentioned, it looks ok, but I can't guarantee that it could arising any concern.&lt;/P&gt;
&lt;P&gt;On the other hand, please use the LLDP 6.1.55 and configure the DMAS fiel into the PROCTL register ( 15.4.12 Protocol control register, LS1028ARM Reference Manual)&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 04:06:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028a-not-bootable-with-UEFI-flow/m-p/1965465#M14952</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2024-10-02T04:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: [ls1028a] not bootable with UEFI flow</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028a-not-bootable-with-UEFI-flow/m-p/1965477#M14954</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;please use the LLDP 6.1.55 and configure the DMAS fiel into the PROCTL register ( 15.4.12 Protocol control register, LS1028ARM Reference Manual)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is &lt;A href="https://www.nxp.com/docs/en/user-guide/UG10081_LLDP_6.1.55_2.2.0.pdf" target="_self"&gt;this&lt;/A&gt; the document&amp;nbsp;&amp;nbsp;that you want me to check? Could you please tell me which page to check? I can't find&amp;nbsp;&lt;SPAN&gt;15.4.12&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 06:11:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028a-not-bootable-with-UEFI-flow/m-p/1965477#M14954</guid>
      <dc:creator>AristoChen</dc:creator>
      <dc:date>2024-10-02T06:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: [ls1028a] not bootable with UEFI flow</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1028a-not-bootable-with-UEFI-flow/m-p/1965900#M14958</link>
      <description>find it on page 732 of the LS1028ARM reference manual</description>
      <pubDate>Wed, 02 Oct 2024 19:19:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1028a-not-bootable-with-UEFI-flow/m-p/1965900#M14958</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2024-10-02T19:19:47Z</dc:date>
    </item>
  </channel>
</rss>

