Hi, I'm warkap.
I have a AM335x-Reference-Board and I'm trying to boot it with the linux-kernel-4.4.12
But, it doesn't work well. When it boots, it is stuck(?) in stage of loading linux-kernel binary.
Would you give me some advice and answer to my question?
(1) 1st Step, Copying binaries from SD to Nand of the board.
- I put uEnv.txt, MLO, u-boot.img, uImage into SD.
- I insert the SD into the board and, power on with SD-Boot-Mode.
- then, I can see that copy is being done.
- I found useful similar commands in below site so I adopt them in uEnv.txt
(==> processors.wiki.ti.com/.../Linux_Core_U-Boot_User's_Guide)
uenvcmd=nand erase.chip;
load mmc 0 0x81000000 MLO;
nand write 0x81000000 NAND.SPL;
nand write 0x81000000 NAND.SPL.backup1;
nand write 0x81000000 NAND.SPL.backup2;
nand write 0x81000000 NAND.SPL.backup3;
load mmc 0 0x81000000 u-boot.img;
nand write 0x81000000 NAND.u-boot;
load mmc 0 0x81000000 uImage; (==> I converted from zImgae to uImage)
nand write 0x81000000 NAND.kernel;
run findfdt;
load mmc 0 0x81000000 $fdtfile;
nand write 0x81000000 NAND.u-boot-spl-os;
saveenv;
- these commands works well, all operations are done well.
(2) 2nd Step, Booting from Nand.
- After finishing copying, I power off and power on again with Nand-Boot-Mode.
- then, I can see that the board boots and u-boot's running.
- then, now is problem stage. It seems taht linux-kernel(uImage) doesn't run.
- There is any other error logs and kernel starting log.
- When I trace boot sequence of u-boot, it still stays in image_entry( ) of jump_to_image_linux( ).
Is there any missing command? or is there any command to be modified in uEnv.txt?
What is the problem in my case?
What should I do check?