<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Troy,<div><br></div><div>Thanks for sharing the changes, with this I'm able to generate mtd image. But when I try to load them through Qemu, it's getting stuck with the below error. Is there any workaround?</div><div><br></div><div>Error log:</div><div>------------</div><div><div>fdt_root: FDT_ERR_BADMAGIC</div><div>ERROR: root node setup failed</div><div> - must RESET the board to recover.</div><div><br></div><div>FDT creation failed! hanging...### ERROR ### Please RESET the board ###</div></div><div><br></div><div><br></div><div>Qemu command:</div><div>-----------------------</div><div>qemu-system-arm -m 1G -M ast2600-evb -nographic -drive file=obmc-phosphor-image-evb-ast2600-20210205034901.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostname=qemu<br></div><div><br></div><div>Qemu log:</div><div>--------------</div><div><div>U-Boot 2019.04 (Feb 04 2021 - 10:27:21 +0000)</div><div><br></div><div>SOC: AST2600-A0 </div><div>eSPI Mode: SIO:Enable : SuperIO-2e</div><div>Eth: MAC0: RGMII, MAC1: RGMII, MAC2: RGMII, MAC3: RGMII</div><div>Model: AST2600 EVB</div><div>DRAM: already initialized, 240 MiB (capacity:256 MiB, VGA:64 MiB), ECC off</div><div>PCIE-0: Link down</div><div>MMC: </div><div><br></div><div>sdhci_slot0@100: 1, sdhci_slot1@200: 2, emmc_slot0@100: 0</div><div>Loading Environment from SPI Flash... *** Warning - spi_flash_probe_bus_cs() failed, using default environment</div><div><br></div><div>In: serial@1e784000</div><div>Out: serial@1e784000</div><div>Err: serial@1e784000</div><div>Model: AST2600 EVB</div><div>Net: </div><div>Warning: ftgmac@1e660000 (eth0) using random MAC address - 5e:23:16:3b:07:db</div><div>eth0: ftgmac@1e660000</div><div>Warning: ftgmac@1e680000 (eth1) using random MAC address - 92:2d:b9:4b:a5:93</div><div>, eth1: ftgmac@1e680000</div><div>Warning: ftgmac@1e670000 (eth2) using random MAC address - f6:16:60:c6:0a:2d</div><div>, eth2: ftgmac@1e670000</div><div>Warning: ftgmac@1e690000 (eth3) using random MAC address - 02:43:32:16:41:6d</div><div>, eth3: ftgmac@1e690000</div><div>Hit any key to stop autoboot: 0 </div><div>## Loading kernel from FIT Image at 20100000 ...<br></div><div> Using 'conf@aspeed-ast2600-evb.dtb' configuration</div><div> Trying 'kernel@1' kernel subimage</div><div> Description: Linux kernel</div><div> Type: Kernel Image</div><div> Compression: uncompressed</div><div> Data Start: 0x2010012c</div><div> Data Size: 3527112 Bytes = 3.4 MiB</div><div> Architecture: ARM</div><div> OS: Linux</div><div> Load Address: 0x80001000</div><div> Entry Point: 0x80001000</div><div> Hash algo: sha256</div><div> Hash value: d3bfde4459bab8272cda12f0747d47735521c9ee4f5786283cfea439398c976d</div><div> Verifying Hash Integrity ... sha256+ OK</div><div>## Loading ramdisk from FIT Image at 20100000 ...</div><div> Using 'conf@aspeed-ast2600-evb.dtb' configuration</div><div> Trying 'ramdisk@1' ramdisk subimage</div><div> Description: obmc-phosphor-initramfs</div><div> Type: RAMDisk Image</div><div> Compression: uncompressed</div><div> Data Start: 0x20465cf8</div><div> Data Size: 1087608 Bytes = 1 MiB</div><div> Architecture: ARM</div><div> OS: Linux</div><div> Load Address: unavailable</div><div> Entry Point: unavailable</div><div> Hash algo: sha256</div><div> Hash value: 488f44eb0c954ef85ede0c1dde3803696b3637d41996fc2be9610bbdb756b1a9</div><div> Verifying Hash Integrity ... sha256+ OK</div><div>## Loading fdt from FIT Image at 20100000 ...</div><div> Using 'conf@aspeed-ast2600-evb.dtb' configuration</div><div> Trying 'fdt@aspeed-ast2600-evb.dtb' fdt subimage</div><div> Description: Flattened Device Tree blob</div><div> Type: Flat Device Tree</div><div> Compression: uncompressed</div><div> Data Start: 0x2045d408</div><div> Data Size: 34852 Bytes = 34 KiB</div><div> Architecture: ARM</div><div> Hash algo: sha256</div><div> Hash value: a9bcf2a34ea7477d2c5f86ec793b659ecce07554dee5897460198f513ede4d0b</div><div> Verifying Hash Integrity ... sha256+ OK</div><div> Booting using the fdt blob at 0x2045d408</div><div> Loading Kernel Image ... OK</div><div> Loading Ramdisk to 8ce57000, end 8cf60878 ... OK</div><div> Loading Device Tree to 8ce4b000, end 8ce56823 ... OK</div><div>fdt_root: FDT_ERR_BADMAGIC</div><div>ERROR: root node setup failed</div><div> - must RESET the board to recover.</div><div><br></div><div>FDT creation failed! hanging...### ERROR ### Please RESET the board ###</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Regards,</div><div>Vinoth Kumar RK</div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 5 Feb 2021 at 07:57, Troy Lee <<a href="mailto:troy_lee@aspeedtech.com">troy_lee@aspeedtech.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="gmail-m_-6097364044091149149WordSection1">
<p class="MsoNormal">Hi Vinothkumar,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Please refer to the following two changes in Gerrit:<u></u><u></u></p>
<ul style="margin-top:0cm" type="disc">
<li class="gmail-m_-6097364044091149149MsoListParagraph" style="margin-left:0cm"><a href="https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/39343" target="_blank">https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/39343</a><u></u><u></u></li><li class="gmail-m_-6097364044091149149MsoListParagraph" style="margin-left:0cm"><a href="https://gerrit.openbmc-project.xyz/c/openbmc/meta-aspeed/+/39344" target="_blank">https://gerrit.openbmc-project.xyz/c/openbmc/meta-aspeed/+/39344</a><u></u><u></u></li></ul>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Troy Lee<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b>From:</b> openbmc <openbmc-bounces+troy_lee=<a href="mailto:aspeedtech.com@lists.ozlabs.org" target="_blank">aspeedtech.com@lists.ozlabs.org</a>>
<b>On Behalf Of </b>VINOTHKUMAR RK<br>
<b>Sent:</b> Thursday, February 4, 2021 8:28 PM<br>
<b>To:</b> <a href="mailto:openbmc@lists.ozlabs.org" target="_blank">openbmc@lists.ozlabs.org</a><br>
<b>Subject:</b> evb-ast2600: Getting some build errors - 'u-boot.bin' is too large!'<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm trying to build for evb-ast2600 platform, but it doesn't succeed. Please help.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Build command: (fresh checkout and build)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">TEMPLATECONF=meta-evb/meta-evb-aspeed/meta-evb-ast2600/conf . openbmc-env<br>
bitbake obmc-phosphor-image<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Branch details:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">commit 7dc2f7a38dccb3d87a9b79d0a66b25da1027a72f <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Error Log:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Loading cache: 100% | | ETA: --:--:--<br>
Loaded 0 entries from dependency cache.<br>
Parsing recipes: 100% |########################################################################################################################################################################| Time: 0:00:44<br>
Parsing of 2424 .bb files complete (0 cached, 2424 parsed). 3683 targets, 362 skipped, 0 masked, 0 errors.<br>
WARNING: No bb files in default matched BBFILE_PATTERN_meta-evb-ast2600 '^/home/vinoth/project/openbmc/meta-evb/meta-evb-aspeed/meta-evb-ast2600/'<br>
NOTE: Resolving any missing task queue dependencies<br>
<br>
Build Configuration:<br>
BB_VERSION = "1.49.0"<br>
BUILD_SYS = "x86_64-linux"<br>
NATIVELSBSTRING = "ubuntu-20.04"<br>
TARGET_SYS = "arm-openbmc-linux-gnueabi"<br>
MACHINE = "evb-ast2600"<br>
DISTRO = "openbmc-phosphor"<br>
DISTRO_VERSION = "0.1.0"<br>
TUNE_FEATURES = "arm armv7a vfp vfpv4d16 callconvention-hard"<br>
TARGET_FPU = "hard"<br>
meta <br>
meta-poky <br>
meta-oe <br>
meta-networking <br>
meta-python <br>
meta-phosphor <br>
meta-aspeed <br>
meta-evb-ast2600 = "master:7dc2f7a38dccb3d87a9b79d0a66b25da1027a72f"<br>
<br>
Initialising tasks: 100% |#####################################################################################################################################################################| Time: 0:00:03<br>
Sstate summary: Wanted 1378 Found 939 Missed 439 Current 0 (68% match, 0% complete)<br>
NOTE: Executing Tasks<br>
WARNING: linux-aspeed-5.8.17+gitAUTOINC+3cc95ae407-r0 do_kernel_metadata: Feature 'phosphor-gpio-keys' not found, but KERNEL_DANGLING_FEATURES_WARN_ONLY is set<br>
WARNING: linux-aspeed-5.8.17+gitAUTOINC+3cc95ae407-r0 do_kernel_metadata: This may cause runtime issues, dropping feature and allowing configuration to continue<br>
WARNING: linux-aspeed-5.8.17+gitAUTOINC+3cc95ae407-r0 do_kernel_metadata: Feature 'phosphor-vlan' not found, but KERNEL_DANGLING_FEATURES_WARN_ONLY is set<br>
WARNING: linux-aspeed-5.8.17+gitAUTOINC+3cc95ae407-r0 do_kernel_metadata: This may cause runtime issues, dropping feature and allowing configuration to continue<br>
WARNING: linux-aspeed-5.8.17+gitAUTOINC+3cc95ae407-r0 do_kernel_configme: Feature 'phosphor-gpio-keys' not found, but KERNEL_DANGLING_FEATURES_WARN_ONLY is set<br>
WARNING: linux-aspeed-5.8.17+gitAUTOINC+3cc95ae407-r0 do_kernel_configme: This may cause runtime issues, dropping feature and allowing configuration to continue<br>
WARNING: linux-aspeed-5.8.17+gitAUTOINC+3cc95ae407-r0 do_kernel_configme: Feature 'phosphor-vlan' not found, but KERNEL_DANGLING_FEATURES_WARN_ONLY is set<br>
WARNING: linux-aspeed-5.8.17+gitAUTOINC+3cc95ae407-r0 do_kernel_configme: This may cause runtime issues, dropping feature and allowing configuration to continue<br>
WARNING: obmc-phosphor-sysd-1.0-r1 do_package_qa: QA Issue: obmc-phosphor-sysd: SRC_URI uses PN not BPN [src-uri-bad]<br>
ERROR: obmc-phosphor-image-1.0-r0 do_generate_static: Image '/home/vinoth/project/openbmc/build/tmp/deploy/images/evb-ast2600/u-boot.bin' is too large!<br>
ERROR: Logfile of failure stored in: /home/vinoth/project/openbmc/build/tmp/work/evb_ast2600-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/temp/log.do_generate_static.2176796<br>
ERROR: Task (/home/vinoth/project/openbmc/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb:do_generate_static) failed with exit code '1'<br>
NOTE: Tasks Summary: Attempted 4041 tasks of which 2680 didn't need to be rerun and 1 failed.<br>
<br>
Summary: 1 task failed:<br>
/home/vinoth/project/openbmc/meta-phosphor/recipes-phosphor/images/obmc-phosphor-image.bb:do_generate_static<br>
Summary: There were 10 WARNING messages shown.<br>
Summary: There was 1 ERROR message shown, returning a non-zero exit code.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">VINOTHKUMAR RK<u></u><u></u></p>
</div>
</div>
</div>
</div>
</blockquote></div>