[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] strange problem with flatfsd
Hello, this is my first post in the maillist. First of all, thankyou for the
great work done.
I'm playing with the Spartan3e starter board (rev. D), I have made the
hardware from scratch without the etherlite because of the license, using the
microblaze-auto flow.
The card boots ok but I have a problem with flatfsd, it always says that there
is no valid data in the partition. U-boot writes the flash correctly so I
don't know what happens with flatfsd. I also have sent SIGUSR1 signal to the
process but when I reboot the flash is not written.
Am I missing anything?
ah, my kernel didn't compile because it was lacking a const
CONFIG_XILINX_FLASH_WIDTH that EDK 8.1 doesn't put in the file
auto-config.in.
So I put it by hand but not sure if it is correct:
define_int CONFIG_XILINX_FLASH_WIDTH 8
define_int CONFIG_XILINX_FLASH_DATAWIDTH_MATCHING 1
With these the kernel compile ok, and u-boot write ok the flash, but there is
the commented error in flatfsd.
Thanks a lot.
Eugenio
PD1: I attach the bootlog.
=================================================
FS-BOOT First Stage Bootloader (c) 2006 PetaLogix
=================================================
FS-BOOT: System initialisation completed.
FS-BOOT: Booting from FLASH. Press 's' for image download.
FS-BOOT: Booting image...
SDRAM :
U-Boot Start:0x23fc0000
Malloc Start:0x23f60000
Board Info Start:0x23f5ffd0
Boot Parameters Start:0x23f4ffd0
FLASH: 16 MB
Hit any key to stop autoboot: 0
## Booting image at 210c0000 ...
Image Name: linux2.4.x
Image Type: Microblaze Linux Kernel Image (uncompressed)
Data Size: 2625579 Bytes = 2.5 MB
Load Address: 22000000
Entry Point: 22000000
Verifying Checksum ... OK
OK
Linux version 2.4.32-uc0 (root@trastu) (gcc version 3.4.1 ( Xilinx EDK 8.1.01
Build EDK_I.19.4 080506 )) #15 Wed Mar 28 12:49:45 CEST 2007
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Kernel command line:
mtdparts=physmap_auto:256K(boot),256K(bootenv),256K(config),4M(image),11M(spare)
macaddr=00:0a:35:00:22:01
Console: xmbserial on UARTLite
Calibrating delay loop... 32.97 BogoMIPS
Memory: 32MB = 32MB total
Memory: 29692KB available (624K code, 2090K data, 36K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Microblaze UARTlite serial driver version 1.00
ttyS0 at 0x40600000 (irq = 2) is a Microblaze UARTlite
Starting kswapd
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
physmap_auto flash device: 1000000 at 21000000
physmap_auto probing buswidth 1
cfi_cmdset_0001: Erase suspend on write enabled
0: offset=0x0,size=0x20000,blocks=128
Using buffer write method
physmap_auto: Using Command Line partition definition
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "boot"
0x00040000-0x00080000 : "bootenv"
0x00080000-0x000c0000 : "config"
0x000c0000-0x004c0000 : "image"
0x004c0000-0x00fc0000 : "spare"
uclinux[mtd]: RAM probe address=0x220d3a3c size=0x1d3000
uclinux[mtd]: root filesystem index=6
MicroBlaze auto-config flash probe(0x21000000,8388608,4): 800000 at 21000000
CFI: Found no Flash device at location zero
Search for id:(1818 00) interleave(2) type(2)
Search for id:(1818 00) interleave(2) type(2)
Search for id:(1818 00) interleave(2) type(2)
Search for id:(18 18) interleave(2) type(1)
Search for id:(18 18) interleave(2) type(1)
Search for id:(18 18) interleave(2) type(1)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(1818 00) interleave(4) type(2)
Search for id:(18 00) interleave(4) type(1)
Search for id:(18 00) interleave(4) type(1)
Search for id:(18 00) interleave(4) type(1)
JEDEC: Found no Flash device at location zero
MicroBlaze auto-config ram probe(0x220d3a3c,1912832,4): 1d3000 at 220d3a3c
Creating 1 MTD partitions on "RAM":
0x00000000-0x001d3000 : "Romfs"
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 36K
Mounting proc:
Mounting var:
Populating /var:
Running local start scripts.
Mounting /etc/config:
Populating /etc/config:
flatfsd: invalid header magic
flatfsd: Nonexistent or bad flatfs (-183), creating new one...
flatfsd: Wrote 232 bytes to flash in 2 seconds
flatfsd: Created 4 configuration files (124 bytes)
Setting hostname:
capullo login:
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/