LPC4357 booting with uClinux from uSD

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC4357 booting with uClinux from uSD

859件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by crchaves on Wed Jan 28 00:27:07 MST 2015
Dear all,

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.
The steps that I following in the installation the OS in the uSD card show below:

-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.
- Formatted: 1th partition with VFAT (dev/sdc1/) and 2nd partition with EXT2 (dev/sdc2/).
-Putting uImage into the vfat:
sudo cp /workdir/cortexm_uclinux/out/uImage ./

-Putting rootfs and modules of drivers into ext2

sudo cp /workdir/cortexm_uclinux/filesystem/rootfs ./

sudo cp /workdir/cortexm_uclinux/uboot/u-boot-2010.03/drivers ./

sudo cp /workdir/cortexm_uclinux/kernel/linux-2.6.33/arch/arm/boot/ ./

sudo dd if=/workdir/cortexm_uclinux/uboot/u-boot-2011.06/u-boot-lpc.bin of=/dev/sdc bs=1024 seek=8

sudo dd if=/workdir/cortexm_uclinux/uboot/u-boot-2011.06/u-boot.bin of=/dev/sdc bs=1024 seek=32

cd
sync
sudo umount /dev/sdc2

Sincerely Cristobal,

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

791件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by crchaves on Thu Jan 29 05:44:27 MST 2015
Hello NXP Support,

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.
My question is how to record/save the operating system in the uSD, because the system tries to start, but do not succefull  and returns to the default setting.

Startups are configured with a switch on the board, the only problem is that is not well recorded/saved on the SD card.

Now I modified the program saved, decompressing the kernel on the SD card, but continued without booting the OS. You can see below:

cd /media/3D4C-EE60
sudo cp /workdir/cortexm_uclinux/out/uImage ./

cd /media/4be45c05-cd39-44ac-a2c8-eedb041d0890/
sudo tar jxvf /workdir/cortexm_uclinux/kernel/linux-2.6.33/linux-2.33-arm1.tar.bz2

sudo cp /workdir/cortexm_uclinux/kernel/linux-2.6.33/arch/arm/boot/zImage ./boot


sudo dd if=/workdir/cortexm_uclinux/uboot/u-boot-2011.06/u-boot-lpc.bin of=/dev/sdc bs=1024 seek=8


cd
sync
sudo umount /dev/sdc2

Regards,

Cristobal
0 件の賞賛
返信

791件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bavarian on Thu Jan 29 04:32:49 MST 2015
Hello Cristobal,

difficult to analyse where the problem lies, I don't know which type of board you use. However, here are some hints:

[list]
  [*]  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.
  [*]  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?
[/list]

Regards,
NXP Support Team
0 件の賞賛
返信