Hi Scott,
Thanks for your reply. I'm still confused as to how exactly to go about setting up a jffs2 partition in my flash. The instructions in the Microtronix Reference Guide assume an external flash card and IDE support. I have on-board flash and (currently) no IDE support in the kernel. I've included some (possibly) relevant information below. Any tips on how to get started?
Thanks in advance,
Ryan
ls /dev
button console cua0 cua1 cua2 cua3 cua4 cua5
cua6 cua7 cua8 cua9 fb0 fb1 hda hda1
hda2 hda3 hda4 hda5 hda6 hda7 hda8 hdb
hdb1 hdb2 hdb3 hdb4 hdb5 hdb6 hdb7 hdb8
i2c-0 i2c-1 input kmem mem null ptyp0 ptyp1
ptyp2 ptyp3 ptyp4 ptyp5 ptyp6 ptyp7 ptyp8 ptyp9
ptypa ptypb ptypc ptypd ptype ptypf ram0 ram1
ram2 ram3 spi tty tty0 tty1 tty2 tty3
tty4 tty5 tty6 tty7 tty8 tty9 ttyJ0 ttyS0
ttyS1 ttyS2 ttyS3 ttyS4 ttyS5 ttyS6 ttyS7 ttyS8
ttyS9 ttyp0 ttyp1 ttyp2 ttyp3 ttyp4 ttyp5 ttyp6
ttyp7 ttyp8 ttyp9 ttypa ttypb ttypc ttypd ttype
ttypf zero
# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / romfs ro 0 0
/dev/ram0 /var ext2 rw 0 0
/dev/ram1 /tmp ext2 rw 0 0
proc /proc proc rw,nodiratime 0 0
sysfs /sys sysfs rw 0 0
Finally, my boot messages in case they help:
setup_arch: No persistant network settings signature at 43FF0000
start_mem is 0x4017a000
virtual_end is 0x41000000
Built 1 zonelists
Kernel command line: root=/dev/mtdblock0 rw
PID hash table entries: 128 (order: 7, 2048 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mem_init: start=4017a000, end=41000000
Memory available: 14680k/16384k RAM, 0k/0k ROM (1227k kernel code, 280k data)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
NET: Registered protocol family 16
Serial: JTAG UART driver $Revision: 1.3 $
ttyJ0 at MMIO 0xc4000808 (irq = 0) is a jtag_uart
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
smc_probe: 75000 Khz Nios
SMSC LAN91C111 Driver (v2.1), (Linux Kernel 2.6)
eth0: SMC91C11xFD(rev:1) at 0x4400a000 IRQ:2 MEMSIZE:8192b NOWAIT:0 ADDR: 00:07
ed:00:00:00
smc_probe: 75000 Khz Nios
Using anticipatory io scheduler
Microtronix map: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
Microtronix map: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using Microtronix development partition definition
Creating 2 MTD partitions on "Microtronix map":
0x00200000-0x00800000 : "romfs"
0x00000000-0x00200000 : "loader/kernel"
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 48k freed (0x40160000 - 0x4016b000)
expand: from=/ramfs.img to=/dev/ram0
expand: from=/ramfs.img to=/dev/ram1