burn jffs2 image to flash using superboot2440

mihalko
Hi,
I have 3 custom images:
u-boot (u-boot.bin)
kernel (uImage)
rootfs {rootfs.jffs2}

I need to burn them into NAND using superboot on mini2440.

I have created this tree on SD card:
images
images/FriendlyARM.ini
images/superboot-20101223.bin
images/linux/uImage
images/linux/rootfs.jffs2

and edited FriendlyARM.ini to this content:
#This line cannot be removed. by FriendlyARM(www.arm9.net)

CheckOneButton=No
Action=install
OS=linux

VerifyNandWrite=Yes

StatusType = Beeper| LED

#################### Linux #####################
Linux-BootLoader = linux/u-boot.bin
Linux-Kernel = linux/uImage
Linux-CommandLine = noinitrd init=/linuxrc rootfstype=jffs2
root=/dev/mtdblock3 console=ttySAC0 mini2440=0
Linux-RootFs-InstallImage = linux/rootfs.jffs2
Linux-RootFs-RunImage = linux/rootfs.jffs2

when I commend out Linux-RootFs-InstallImage parameter, superboot will
flash u-boot and I am able to boot with it, but no kernel and root
filesystem is flashed.

When Linux-RootFs-InstallImage parameter is active, superboot will give
error flashing yaffs2 image.

Is there any way to flash jffs2 image and kernel image into flash using
superboot? I know I can flash u-boot, boot into u-boot console, create
partitions and flash images, but I like automated way which comes with
superboot. Thanks for any info,

Best regards

Mike Poling
Any luck on this? I am having a similar issue to you. I am using the newest
mini2440 OEM which now requirs the Superboot v1.0 to load image. OS = CE. I
can get the image to load and initially boot but seems to "disappear" after
reboot of the 2440. Almost as if it loaded to sdram and not flashed.

Also, Are you familiar with the "# user BIN part" image option? I get an
error in term server as follows:

Superboot V1.0(20130514) for Mini2440 by FriendlyARM

Try to find SD card.... Found.
not support Action 'INSTALL'  with OS 'BIN'

I have built a couple hundred of these using the old superVIVI bios method,
now I am scrambling to get some info on the new load. I don't want to JTAG
these as well if possible.

Thanks in advanced
Mike

Johan Ribenfors
Similar to mihalko, I can install a bootloader (barebox in my case) and
superboot says the kernel installed successfully, but my root image is
jffs2, and superboot seems to expect yaffs2.

However, while superboot says the kernel installed, when I try booting from
nand I get an error:
booting kernel of type uimage from /dev/nand0.kernel.bb
Bad Magic Number

My FriendlyARM.ini:
#This line cannot be removed. by FriendlyARM(www.arm9.net)
USBMode=No
Action=Install
OS=Linux
VerifyNandWrite=Yes
LowFormat=No
Status Type = Beeper| LED
Linux-BootLoader=linux/barebox
Linux-Kernel=linux/uImage
Linux-CommandLine=noinitrd rootfstype=jffs2 root=/dev/mtdblock3
console=ttySAC0 mini2440=
Linux-RootFs-InstallImage=linux/root.jffs2

The SD card looks like:
/images/friendlyARM.ini
/images/linux/barebox
/images/linux/uImage
/images/linux/root.jffs2


The superboot output:
Try to find SD card... Found.
Installing OS 'LINUX'
Installing bootloader...
Installing bootloader  succeed
Installing bootloader succeed
Installing kernel...
Installing kernel succeed
Installing yaffs2-image...
Installing yaffs2-image failed

The bootloader, kernel and rootfs are the ones I've been flashing on all
previous supervivi boards through DNW.

What've I missed with the kernel installation?
Can I install a jffs2 image?
Is there any documentation on superboot and the friendlyARM.ini?

TheRegnirps
Until this is figured out, perhaps use u-boot (or whatever you use) and
TFTP to install the rest?

mihalko
TheRegnirps: yes, this is the way I am doing it right now, the only way I
was able to burn system on mini2440. Flash u-boot from SD card using
superboot as I wrote in first message and than flash kernel and jffs2 image
from SD card.

But it seems to be lot faster to flast these images directly using
superboot, so that is why this thread comes to place.