[U-Boot] do_jffs2_ls fails
Ricardo Martínez
rmartinez at teltronic.es
Mon Oct 26 13:39:14 CET 2009
Hi,
I'm trying to execute ls command from u-boot shell, but it fails.
My board consists of an ARM926ej, 128MB of NOR flash (at 0x20000000 after
remap) and 64MB of DDRII at 0x00000000.
u-boot is running perfectly appart from this. This means that it loads linux
correctly when I have uImage in a specific /dev/mtdX partition, reserved
only for this data. But I want to have this uImage file in linux filesystem,
as I have it for other boards (NGW100 from Atmel, AVR32AP7 CPU).
Taking a look at the last lines, it seems there is a problem with malloc.
Any help would be greatly appreciated.
Thanks in advance,
Ricardo
=> ls
Scanning JFFS2 FS: / Unknown node type: 2005 len 24 offset 0x280000
.- Unknown node type: 2005 len 24 offset 0x2c0000
\ Unknown node type: 2005 len 24 offset 0x300000
........| Unknown node type: 2005 len 24 offset 0x340000
./ Unknown node type: 2005 len 24 offset 0x380000
- Unknown node type: 2005 len 24 offset 0x3c0000
\ Unknown node type: 2005 len 24 offset 0x400000
| Unknown node type: 2005 len 24 offset 0x440000
/ Unknown node type: 2005 len 24 offset 0x480000
- Unknown node type: 2005 len 24 offset 0x4c0000
\ Unknown node type: 2005 len 24 offset 0x500000
| Unknown node type: 2005 len 24 offset 0x540000
/ Unknown node type: 2005 len 24 offset 0x580000
- Unknown node type: 2005 len 24 offset 0x5c0000
\ Unknown node type: 2005 len 24 offset 0x600000
| Unknown node type: 2005 len 24 offset 0x640000
/ Unknown node type: 2005 len 24 offset 0x680000
- Unknown node type: 2005 len 24 offset 0x6c0000
\ Unknown node type: 2005 len 24 offset 0x700000
| Unknown node type: 2005 len 24 offset 0x740000
/ Unknown node type: 2005 len 24 offset 0x780000
- Unknown node type: 2005 len 24 offset 0x7c0000
\ Unknown node type: 2005 len 24 offset 0x800000
.| Unknown node type: 2005 len 24 offset 0x840000
/ Unknown node type: 2005 len 24 offset 0x880000
- Unknown node type: 2005 len 24 offset 0x8c0000
\ Unknown node type: 2005 len 24 offset 0x900000
| Unknown node type: 2005 len 24 offset 0x940000
/ Unknown node type: 2005 len 24 offset 0x980000
- Unknown node type: 2005 len 24 offset 0x9c0000
\ Unknown node type: 2005 len 24 offset 0xa00000
| Unknown node type: 2005 len 24 offset 0xa40000
/ Unknown node type: 2005 len 24 offset 0xa80000
- Unknown node type: 2005 len 24 offset 0xac0000
\ Unknown node type: 2005 len 24 offset 0xb00000
add_node: malloc failed
add_node failed!
ls: Failed to scan JFFSv2 file structure
More information about the U-Boot
mailing list