Hello,
We have a new board that uses a i.mx6 dual lite CPU. u-boot was ported ok, but I have some problem with linux. When I do a :
u-boot> tftp <uImage>
u-boot> bootm <load address>
I see the "Starting kernel" message and that's it. It hangs here. I have traced the bootm command and I can tell it does its job and "jumps" in the linux kernel.
I have made sure that the "MACH_IDs" are the same in u-boot and in linux. I have enabled DEBUG_LL...to no avail.
Also here is the bootargs I am passing to linux:
setenv ipaddr 192.168.45.222; setenv ethaddr 0:80:b6:1:1:22; setenv serverip 192.168.45.125; setenv bootargs $bootargs console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait ; setenv loadaddr 11000000
Any ideas on what to try next?
Thanks a lot
-jfs
Solved! Go to Solution.
Acording to your u-boot variables, you want to get the kernel from a server and boot from the eMMC, right? Set the bootars like this
setenv bootargs 'console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait'
Save and boot again. Follow the User and Release Guides for info of these parameters.
Leo
Acording to your u-boot variables, you want to get the kernel from a server and boot from the eMMC, right? Set the bootars like this
setenv bootargs 'console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait'
Save and boot again. Follow the User and Release Guides for info of these parameters.
Leo
Hi,
Thanks for the answer
At this point I just want to solve that issue where u-boot can't start linux. All I want to see are characters coming from the serial port console. So I guess the only variable in botargs of importance is "console". I don't really want to boot from eMMC, that will come later. I agree my bootargs are misleading.
-jf simon
Hello,
Did you compiled your u-boot and Linux with Ltib ?
Hi Albert,
No I am using buildroot toolchain. I will try LTIB. Do you think it could make a difference?
-jf simon
Well, it could.
Firstly, you could to boot from a sd card. (if you don't know how, refer to the document of the next point)
Then I would recommend you to follow the steps from the User guide to make sure you're not forgetting something when you boot from network. You can find the document at this page : i.MX 6 Q/D L3.0.35_1.1.0 GA release, download L3.0.35_1.1.0_LINUXDOCS_BUNDLE and look into BSP_Documents. This explains how to boot from network.
If this doesn't work, then you should install Ltib and compile everything with it, try to boot from sd card and then from network.
Good luck !
Hi
I will try recompiling with LTIB. thanks for the suggestion
-jfs