Hello Urmel!!!! hw r u???
i have success mounting the filesystem .......
when linux booting from a ram i have this result take a look
/> Uncompressing Linux... Ok, booting the kernel.
Linux version 2.6.30 (franz@franz-desktop) (gcc version 3.4.6)# 754 PREEMPT Mon May 2 09:37:56 BRT 2011
uClinux/Nios II
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 32512
Kernel command line: root=/dev/mtdblock2 rw rootfstype=jffs2
NR_IRQS:32
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory available: 128108k/1825k RAM, 0k/0k ROM (1554k kernel code, 270k data)
Calibrating delay loop... 31.02 BogoMIPS (lpj=155136)
Mount-cache hash table entries: 512
net_namespace: 264 bytes
NET: Registered protocol family 16
init_BSP(): registering device resources
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
Device /dev/lcd16207 registered
ttyS0 at MMIO 0x8002140 (irq = 2) is a Altera UART
console enabled
eth0: Open Ethernet Core Version 1.0
oeth_probe: 62500 Khz Nios: 16 RX, 16 TX buffs
NO Custom HW ALIGN.
CONFIG_NIOS2_HW_MULX NOT defined.
CONFIG_NIOS2_HW_MUL_OFF NOT defined.
BMCR = ffffh.
physmap platform flash device: 04000000 at 0c000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: 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 physmap partition information
Creating 9 MTD partitions on "physmap-flash.0":
0x000000000000-0x000002800000 : "userspace"
0x000002800000-0x000002900000 : "U-Boot"
0x000002900000-0x000002d00000 : "uImage1"
0x000002d00000-0x000003100000 : "uImage2"
0x000003100000-0x000003500000 : "uImage3"
0x000003500000-0x000003880000 : "DEFAULT_MMU"
0x000003880000-0x000003c00000 : "MAXIMUM_MMU"
0x000003c00000-0x000003f80000 : "USER_IMAGE"
0x000003f80000-0x000003fa0000 : "options-bits"
TCP cubic registered
NET: Registered protocol family 17
Empty flash at 0x0000fffc ends at 0x00010000
CLEANMARKER node found at 0x00010000, not first node in block (0x00000000)
CLEANMARKER node found at 0x00030000, not first node in block (0x00020000)
CLEANMARKER node found at 0x00050000, not first node in block (0x00040000)
CLEANMARKER node found at 0x00070000, not first node in block (0x00060000)
CLEANMARKER node found at 0x00090000, not first node in block (0x00080000)
Empty flash at 0x000afffc ends at 0x000b0000
CLEANMARKER node found at 0x000b0000, not first node in block (0x000a0000)
Empty flash at 0x000cfffc ends at 0x000d0000
CLEANMARKER node found at 0x000d0000, not first node in block (0x000c0000)
VFS: Mounted root (jffs2 filesystem) on device 31:2.
Freeing unused kernel memory: 56k freed (0x1ba000 - 0x1c7000)
Shell invoked to run file: /etc/rc
Command: hostname uClinux
Command: mount -t proc proc /proc -o noexec,nosuid,nodev
Command: mount -t sysfs sysfs /sys -o rw
Command: mount -t devpts devpts /dev/pts -o noexec,nosuid
Command: mkdir /var/tmp
/var/tmp: File exists
Command: mkdir /var/log
/var/log: File exists
Command: mkdir /var/run
/var/run: File exists
Command: mkdir /var/lock
/var/lock: File exists
Command: mkdir /var/empty
/var/empty: File exists
Command: ifconfig lo 127.0.0.1
Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo
Command: ifconfig eth0 192.168.100.137 netmask 255.255.255.0
oeth_phymac_synch:eth0 MR1: 0x0000FFFF
Jabber
Remote Fault
Autoneg'd
Link OK: MODER: 0x0000A040
FullD
100BASE-TX
Command: boa &
Command: cat /etc/motd
Welcome to
____ _ _
/ __| ||_|
_ _| | | | _ ____ _ _ _ _
| | | | | | || | _ \| | | |\ \/ /
| |_| | |__| || | | | | |_| |/
| ___\____|_||_|_| |_|\____|\_/\_/
| |
|_|
For further information check:
http://www.uclinux.org/
Command:
Execution Finished, Exiting
Sash command shell (version 1.1.1)
/> boa: server version Boa/0.94.14rc21
boa: server built Apr 29 2011 at 14:45:45.
boa: starting server pid=25, port 80
but i have problem when i try booting from a flash ........ i have this error
Uncompressing Linux...
ERROR
invalid compressed format (err=2)
-- System halted
i don´t know what cause this...........
my flash is at 0x0c000000 to 0x0fffffff in sopc builder
my linux cpu reset vector offset is 0x02000000 (start at 0x0e000000)
in make menuconfig i put 0x02000000 offset
i will post the commands i use to program the flash ok!!!
do you know what can i do to fix this????
thank you very much
Franz Wagner