Hi all,
New to Linux and IMX products. I'm trying to get a simple "Hello world" to boot - with obvious difficulties.
My initramfs simply consists of the Hello world executable (static) renamed init. I give the menuconfig the absolute path to the init file and then bitbake linux-imx. I can see the size of zimage change so I know it is being built into the kernel. I then use MGFTool to burn zimage and the dtb into the qspi2 on the board. Once program (at u-boot prompt), - I then "sf probe, sf read ${loadaddr} 0xA00000 0x660000, sf read ${fdt_addr} 0x800000 0x10000, bootz ${loadaddr} - ${fdt_addr}".
The board begins the long boot process and then fails with the following:
Warning: unable to open an initial console.
Freeing unused kernel memory: 352K (80c72000 - 80cca000)
Failed to execute /init
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
See Linux Documentation/init.txt for guidance.
I have searched and experimented for multiple days scouring the internet for the solution - so here I am admitting defeat. Furthermore, my end game is just using the initramfs as my final rootfs; however, that experiment failed as well.
Can anyone point a newbie in the right direction.
Thank you