Hi LiangYi,
<div class='quotetop'>QUOTE </div>
--- Quote Start ---
BTW, another question. When I use <div class='quotetop'>QUOTE
--- Quote End ---
--- Quote Start ---
$ mkimage -a nios2 -o linux -t filesystem -c none -a 0x00a00000 -e 0x00a00000 -n 'romfs' -d romfs.bin romfs.img $ bin2flash --flash=U5 --location=0x00200000 --input=romfs.img --output=romfs.flash
$ nios2-flash-programmer –base=0x00800000 –input=romfs.flash –sof=<path to pgm sof>[/b]
--- Quote End ---
[/b]
--- Quote End ---
Don't use mkimage -- it adds an 'image' header to your romfs image ... which the
kernel knows nothing about. Just use bin2flash and the flash programmer as you
normally would. In most cases, mkimage is used only for the kernel itself ... since
u-boot for Nios does not support separate kernel/ramdisk image files at this time.
Regards,
--Scott