Forum Discussion
Altera_Forum
Honored Contributor
16 years agozlib: zlib-devel was the problem. lzo-devel is also required.
I also realized I was using the wrong branch of the U-Boot repository. Thats why the bootargs were not being passed. When I switched to the "nios2" branch, bootargs worked. Now that I can get kernel arguments passed in, my life should be easier. Next I'm trying to figure out what to do with the rootfs.jffs2 file. I think I need to:- Compile MTDPARTS and JFFS2 support into U-Boot
- Define a Partition Table in U-Boot
- Define a matching Linux partition table in arch/nios2/kernel/config.c after the line "static struct mtd_partition nios2_partitions
- Burn rootfs.jffs2 to flash