<?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>Other NXP ProductsのトピックRe: Step by Step Debug Firmware Image (Ubuntu main userland) for Custom board based on LS1046ardb</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Step-by-Step-Debug-Firmware-Image-Ubuntu-main-userland-for/m-p/1522654#M15289</link>
    <description>&lt;P&gt;For u-boot and Linux Kernel debugging, please refer to section "2. Debug u-boot with CodeWarrior for ARMv8" and "3. Debug Linux Kernel by Attaching Running U-boot" in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ-Knowledge/Use-CodeWarrior-for-ARMv8-to-Debug-U-boot-and-Linux-Kernel-and/ta-p/1114872" target="_blank"&gt;https://community.nxp.com/t5/CodeWarrior-for-QorIQ-Knowledge/Use-CodeWarrior-for-ARMv8-to-Debug-U-boot-and-Linux-Kernel-and/ta-p/1114872&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For CodeWarrior IDE configuration, please refer to the above document.&lt;/P&gt;
&lt;P&gt;u-boot debugging, please use the ELF file in flex-builder build environment&amp;nbsp;flexbuild_lsdk2108/build/firmware/u-boot/ls1046ardb/output/ls1046ardb_tfa_defconfig/u-boot.&lt;/P&gt;
&lt;P&gt;u-boot source code is in&amp;nbsp;flexbuild_lsdk2108/components/firmware/uboot&lt;/P&gt;
&lt;P&gt;Linux Kernel:&lt;/P&gt;
&lt;P&gt;Please run the following command and with "[*] Compile the kernel with debug info" option enabled.&lt;/P&gt;
&lt;P&gt;$ flex-builder -c linux:custom -a arm64&lt;/P&gt;
&lt;P&gt;Build Linux Kernel:&lt;/P&gt;
&lt;P&gt;$ flex-builder -c linux -a arm64&lt;/P&gt;
&lt;P&gt;Build boot partition to get&amp;nbsp;boot_LS_arm64_lts_5.10.tgz&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ flex-builder -i mkbootpartition -a arm64&lt;/P&gt;
&lt;P&gt;Please get vmlinux in&amp;nbsp;flexbuild_lsdk2108/build/linux/linux/arm64/LS/output/LSDK-21.08/vmlinux&lt;/P&gt;
&lt;P&gt;Get linux source code in&amp;nbsp;flexbuild_lsdk2108/components/linux/linux/.&lt;/P&gt;
&lt;P&gt;$ wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2108/rootfs_lsdk2108_ubuntu_main_arm64.tgz" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2108/rootfs_lsdk2108_ubuntu_main_arm64.tgz &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Deploy Kernel and rootfs on SD/MMC with flex-installer&lt;/P&gt;
&lt;P&gt;$ flex-installer -i pf -d /dev/sdx&lt;/P&gt;
&lt;P&gt;$ flex-installer -b boot_arm64_lts_5.10.tgz -r rootfs_lsdk2108_ubuntu_main_arm64.tgz -d /dev/sdx&amp;nbsp;&lt;/P&gt;
&lt;P&gt;bootup Linux Kernel with the following command.&lt;/P&gt;
&lt;P&gt;=&amp;gt;boot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 07:27:47 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2022-09-15T07:27:47Z</dc:date>
    <item>
      <title>Step by Step Debug Firmware Image (Ubuntu main userland) for Custom board based on LS1046ardb</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Step-by-Step-Debug-Firmware-Image-Ubuntu-main-userland-for/m-p/1520188#M15242</link>
      <description>&lt;P&gt;Hi, iam using a custom board based on LS1046ARDB,&lt;/P&gt;&lt;P&gt;I have modified few hardware components in my custom board (Eg: Phy, EEPROM etc).&lt;/P&gt;&lt;P&gt;Is there a way to debug the firmware image (both u-boot and Linux) step by step using codewarrior tap, although i have a document mentioning the debug procedure for Yocto based Userland.&lt;/P&gt;&lt;P&gt;Since i am using &lt;STRONG&gt;Ubuntu (main) userland&lt;/STRONG&gt;, please let me know if there is a way to debug the firmware image.&lt;/P&gt;&lt;P&gt;Thank u.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 04:56:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Step-by-Step-Debug-Firmware-Image-Ubuntu-main-userland-for/m-p/1520188#M15242</guid>
      <dc:creator>Ghouse</dc:creator>
      <dc:date>2022-09-10T04:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Step by Step Debug Firmware Image (Ubuntu main userland) for Custom board based on LS1046ardb</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Step-by-Step-Debug-Firmware-Image-Ubuntu-main-userland-for/m-p/1522654#M15289</link>
      <description>&lt;P&gt;For u-boot and Linux Kernel debugging, please refer to section "2. Debug u-boot with CodeWarrior for ARMv8" and "3. Debug Linux Kernel by Attaching Running U-boot" in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/CodeWarrior-for-QorIQ-Knowledge/Use-CodeWarrior-for-ARMv8-to-Debug-U-boot-and-Linux-Kernel-and/ta-p/1114872" target="_blank"&gt;https://community.nxp.com/t5/CodeWarrior-for-QorIQ-Knowledge/Use-CodeWarrior-for-ARMv8-to-Debug-U-boot-and-Linux-Kernel-and/ta-p/1114872&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For CodeWarrior IDE configuration, please refer to the above document.&lt;/P&gt;
&lt;P&gt;u-boot debugging, please use the ELF file in flex-builder build environment&amp;nbsp;flexbuild_lsdk2108/build/firmware/u-boot/ls1046ardb/output/ls1046ardb_tfa_defconfig/u-boot.&lt;/P&gt;
&lt;P&gt;u-boot source code is in&amp;nbsp;flexbuild_lsdk2108/components/firmware/uboot&lt;/P&gt;
&lt;P&gt;Linux Kernel:&lt;/P&gt;
&lt;P&gt;Please run the following command and with "[*] Compile the kernel with debug info" option enabled.&lt;/P&gt;
&lt;P&gt;$ flex-builder -c linux:custom -a arm64&lt;/P&gt;
&lt;P&gt;Build Linux Kernel:&lt;/P&gt;
&lt;P&gt;$ flex-builder -c linux -a arm64&lt;/P&gt;
&lt;P&gt;Build boot partition to get&amp;nbsp;boot_LS_arm64_lts_5.10.tgz&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ flex-builder -i mkbootpartition -a arm64&lt;/P&gt;
&lt;P&gt;Please get vmlinux in&amp;nbsp;flexbuild_lsdk2108/build/linux/linux/arm64/LS/output/LSDK-21.08/vmlinux&lt;/P&gt;
&lt;P&gt;Get linux source code in&amp;nbsp;flexbuild_lsdk2108/components/linux/linux/.&lt;/P&gt;
&lt;P&gt;$ wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2108/rootfs_lsdk2108_ubuntu_main_arm64.tgz" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2108/rootfs_lsdk2108_ubuntu_main_arm64.tgz &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Deploy Kernel and rootfs on SD/MMC with flex-installer&lt;/P&gt;
&lt;P&gt;$ flex-installer -i pf -d /dev/sdx&lt;/P&gt;
&lt;P&gt;$ flex-installer -b boot_arm64_lts_5.10.tgz -r rootfs_lsdk2108_ubuntu_main_arm64.tgz -d /dev/sdx&amp;nbsp;&lt;/P&gt;
&lt;P&gt;bootup Linux Kernel with the following command.&lt;/P&gt;
&lt;P&gt;=&amp;gt;boot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 07:27:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Step-by-Step-Debug-Firmware-Image-Ubuntu-main-userland-for/m-p/1522654#M15289</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-09-15T07:27:47Z</dc:date>
    </item>
  </channel>
</rss>

