Forum Discussion
Altera_Forum
Honored Contributor
20 years agouboot uclinux boot
hi all, I am tring to boot uclinux-1.3 from u-boot-1.1.3 on altera 2s60 board. I can download and boot uboot on the board sucessfully and also uclinux-1.3 by directly downloading into sdram ...
Altera_Forum
Honored Contributor
20 years agoHi Ankur,
> gzip -9 vmlinux.bin > > mkimage - A nios2 -O linux -T kernel -C gzip -a 01000000 -e 01000000 -n > 'linux-2s60es' -d vmlinux.bin.gz vmlinux.img Since you're using a compressed kernel ... > I download my vmlinux.img at 01000000 ... you need to load the image somewhere else. Otherwise, u-boot will decompress the kernel over the compressed image (the compressed image gets corrupted). Try downloading the image to a higher address, say 0150_0000 or something. Then when it is decompressed to 0100_0000 you won't have any overlap. > bootm 01000000 01900000 Specifying a ramdisk using the bootm command won't work. The kernel doesn't accept parameters from the bootloader. You'll have to use another technique. > Is there any one who has booted any linux from any u-boot ever on any > altera board. Yes, there are many people who used u-boot to with several versions of linux (and ecos) on a variety of altera (and custom) boards. Don't get frustrated, you're very close to success :-) Regards, --Scott