Altera_Forum
Honored Contributor
19 years agouncompressing of romfs.img
hello friend
i have one prblem-> i have dump my u-boot ,kernel and filesystem with following data flash: 0x00000000----0x0020000(2MB) sdram: 0x00800000----0x00ffffff(8MB) restart address: 0x00000000 exception address: 0x00800020 u-boot download address: 0x00000000 the kernel of uclinux download address: 0x00020000 the kernel of uclinux load address is 0x00800000 the kernel of uclinux entry address is 0x00800000 the filesystem of uclinux download address: 0x00100000 the filesystem of uclinux load address is 0x00a00000 the filesystem of uclinux entry address is 0x00a00000 u-boot is 100k vmlinux.bin.gz is 450KB romfs.bin.gz is 438KB and i use the command to compress the kernel : gzip -9 vmlinux.bin mkimage -A nios2 -O linux -T kernel -C gzip -a 0x00800000 -e 0x00800000 -n 'Linux Kernel Image' -d vmlinux.bin.gz uImage.img mkimage -A nios2 -O linux -T filesystem -C gzip -a 0x00c00000 -e 0x00c00000 -n 'romfs EP1C6' -d romfs.bin.gz romfs.img but previously ,when i have load onlt romfs.bin (uncompress)at that time ,i got perfect o/p,but now when i use gzip file then kernel is booting but it is not able to uncompress romfs.img please help me