<?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>topic Re: LPC4357 booting with uClinux from uSD in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-booting-with-uClinux-from-uSD/m-p/591808#M22286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by crchaves on Thu Jan 29 05:44:27 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello NXP Support, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the "OEM board LPC4357 Developer's Kit" with NXP LPC4357 microcontroller. In their own development board I have some buttons to reset and start the plate from external memory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is how to record/save the operating system in the uSD, because the system tries to start, but do not succefull&amp;nbsp; and returns to the default setting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Startups are configured with a switch on the board, the only problem is that is not well recorded/saved on the SD card.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I modified the program saved, decompressing the kernel on the SD card, but continued without booting the OS. You can see below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /media/3D4C-EE60&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo cp /workdir/cortexm_uclinux/out/uImage ./&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /media/4be45c05-cd39-44ac-a2c8-eedb041d0890/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo tar jxvf /workdir/cortexm_uclinux/kernel/linux-2.6.33/linux-2.33-arm1.tar.bz2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo cp /workdir/cortexm_uclinux/kernel/linux-2.6.33/arch/arm/boot/zImage ./boot&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo dd if=/workdir/cortexm_uclinux/uboot/u-boot-2011.06/u-boot-lpc.bin of=/dev/sdc bs=1024 seek=8&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sync&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo umount /dev/sdc2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cristobal&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:17:33 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:17:33Z</dc:date>
    <item>
      <title>LPC4357 booting with uClinux from uSD</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-booting-with-uClinux-from-uSD/m-p/591806#M22284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by crchaves on Wed Jan 28 00:27:07 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a uClinux kernel compiled and tried to install in my development kit LPC4357 board via microSD card. When I try to booting the system, the system no start. I'm not sure the mode of configuration is correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The steps that I following in the installation the OS in the uSD card show below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-The uSD card have 4GB of storage and I parted in 2 partitions (first with 32MB for u-boot and the rest of memory for Kernel and FS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Formatted: 1th partition with VFAT (dev/sdc1/) and 2nd partition with EXT2 (dev/sdc2/).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Putting uImage into the vfat: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo cp /workdir/cortexm_uclinux/out/uImage ./&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Putting rootfs and modules of drivers into ext2 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo cp /workdir/cortexm_uclinux/filesystem/rootfs ./&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo cp /workdir/cortexm_uclinux/uboot/u-boot-2010.03/drivers ./&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo cp /workdir/cortexm_uclinux/kernel/linux-2.6.33/arch/arm/boot/ ./&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo dd if=/workdir/cortexm_uclinux/uboot/u-boot-2011.06/u-boot-lpc.bin of=/dev/sdc bs=1024 seek=8&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo dd if=/workdir/cortexm_uclinux/uboot/u-boot-2011.06/u-boot.bin of=/dev/sdc bs=1024 seek=32&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sync&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo umount /dev/sdc2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely Cristobal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:17:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-booting-with-uClinux-from-uSD/m-p/591806#M22284</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4357 booting with uClinux from uSD</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-booting-with-uClinux-from-uSD/m-p/591807#M22285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Thu Jan 29 04:32:49 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Cristobal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;difficult to analyse where the problem lies, I don't know which type of board you use. However, here are some hints:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]&amp;nbsp; Does the tool flow fit to the type of board you use? Question is, if all ports get correctly configured, because many functions and interfaces are available on more than one port.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]&amp;nbsp; The chip can't boot directly from SD card. So it must boot from internal flash or external flash. The code in there must then configure the chip correctly to continue booting from the SD card. The question is now: do you have such a bootloader in the internal flash or external quadSPI? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Support Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:17:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-booting-with-uClinux-from-uSD/m-p/591807#M22285</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4357 booting with uClinux from uSD</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-booting-with-uClinux-from-uSD/m-p/591808#M22286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by crchaves on Thu Jan 29 05:44:27 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello NXP Support, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the "OEM board LPC4357 Developer's Kit" with NXP LPC4357 microcontroller. In their own development board I have some buttons to reset and start the plate from external memory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is how to record/save the operating system in the uSD, because the system tries to start, but do not succefull&amp;nbsp; and returns to the default setting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Startups are configured with a switch on the board, the only problem is that is not well recorded/saved on the SD card.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I modified the program saved, decompressing the kernel on the SD card, but continued without booting the OS. You can see below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /media/3D4C-EE60&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo cp /workdir/cortexm_uclinux/out/uImage ./&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /media/4be45c05-cd39-44ac-a2c8-eedb041d0890/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo tar jxvf /workdir/cortexm_uclinux/kernel/linux-2.6.33/linux-2.33-arm1.tar.bz2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo cp /workdir/cortexm_uclinux/kernel/linux-2.6.33/arch/arm/boot/zImage ./boot&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo dd if=/workdir/cortexm_uclinux/uboot/u-boot-2011.06/u-boot-lpc.bin of=/dev/sdc bs=1024 seek=8&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sync&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo umount /dev/sdc2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cristobal&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:17:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4357-booting-with-uClinux-from-uSD/m-p/591808#M22286</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:17:33Z</dc:date>
    </item>
  </channel>
</rss>

