Altera_Forum
Honored Contributor
20 years agoUboot and uClinux
Hello all,
I wish to make my uboot (loaded in flash and started at each boot) launching my uClinux kernel at startup. For the moment all I succeeded to do is starting a compressed kernel image in RAM (which reboot processor once "decompressing kernel.....OK" is done...). I use : / mkimage -A Nios2 -O Linux -T kernel -C gzip -a 0 -e 0 -n "uClinux kernel" -d linux.bin.gz uImage I download the image via "loadb" command. As result I get this (after a "iminfo" command):## Checking Image at 02000000 ...
Image Name: linux kernel image
Image Type: Unknown Architecture Linux Kernel Image (gzip compressed)
Data Size: 772947 Bytes = 754.8 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK First question : When generating the image for uboot, what are the correct values for
Load Address: ...
Entry Point: ... ? I tried 0x0 / 0X0. But my kernel still rebooting processor after "decompressing kernel.....OK". Next, can I upload my romfs filesystem as I did for the kernel ? I tried but get "out of limits" each time I try to download the fs image into ram, so I couldn't investigate further more at this time. I've read DULG > Faq and others 'Kernel Hangs After Decompressing' topics but couldnt find useful help (as it seems related to a particular architecture). Thanks for help, Max.