Hi Christian,

On 01/23/2013 06:45 PM, Christian Gieseler wrote:
> I am migrating our coldfire 5329 board to linux 3.6.
> I am stuck now with mounting of romfs having a bad initial checksum of the
> first 512 bytes. The system hangs after this message.
> Even if the functions in fs/romfs/inode.c have moved a bit from 2.6.25 to
> super.c and friends from what I can see the routines to 
> calculate the checksum are basically the same. Genromfs (0.5.1) on the host
> has not changed. Has the new Kernel any configuration option
> that has to be changed to generate a proper romfs.img?

No, nothing has changed in this area. I have run 3.6 kernels on
ColdFire boards using romfs setups the same as every kernel before.


> Or is the checksum
> tested on a wrong value because I misconfigured an address.
> Does someone have a hint how to solve this or where to look for a solution?
> The bootmessages are attached for reference.

Can you send the entire boot sequence?
I want to see all the load segment addresses that are earlier in
the boot output.

How do you load the kernel and romfs into RAM?
Are you positive that the romfs is entirely loaded at the address you
think it should be?

Regards
Greg


> ROMFS MTD (C) 2007 Red Hat, Inc.
> msgmni has been set to 23
> io scheduler noop registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> ColdFire internal UART serial driver
> ttyS0 at MMIO 0xfc060000 (irq = 90) is a ColdFire UART
> console [ttyS0] enabled
> ttyS1 at MMIO 0xfc064000 (irq = 91) is a ColdFire UART
> ttyS2 at MMIO 0xfc068000 (irq = 92) is a ColdFire UART
> uclinux[mtd]: RAM probe address=0x4026924c size=0x19c000
> uclinux[mtd]: set ROMfs to be root filesystem
> Creating 1 MTD partitions on "RAM":
> 0x000000000000-0x00000019c000 : "ROMfs"
> el5329 flash device: 1000000 at 0
> el5329 flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID
> 0x000001 Chip ID 0x002101
> Amd/Fujitsu Extended Query Table at 0x0040
>   Amd/Fujitsu Extended Query version 1.3.
> number of CFI chips: 1
> Creating 5 MTD partitions on " el5329 flash":
> 0x000000000000-0x000000020000 : "vectors"
> 0x000000020000-0x000000060000 : "parameters"
> 0x000000060000-0x000000100000 : "bootloader"
> 0x000000100000-0x000000700000 : "image"
> 0x000000700000-0x000001000000 : "user_data"
> libphy: fec_enet_mii_bus: probed
> TCP: cubic registered
> NET: Registered protocol family 17
> ROMFS: bad initial checksum on dev romfs.
> 
> 
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to