Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Kristoffer Ericson
On Tue, Jun 08, 2010 at 05:01:05PM +0200, Stefano Babic wrote: > Kristoffer Ericson wrote: > > > It worked earlier for unknown reasons, but no longer does. It has > > only worked once. Erasing all the flash (aside from first 512kb) > > works without any error messages, but when trying to flash it

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Kristoffer Ericson
On Tue, Jun 08, 2010 at 05:01:05PM +0200, Stefano Babic wrote: > Kristoffer Ericson wrote: > > > It worked earlier for unknown reasons, but no longer does. It has > > only worked once. Erasing all the flash (aside from first 512kb) > > works without any error messages, but when trying to flash it

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Stefano Babic
Kristoffer Ericson wrote: > It worked earlier for unknown reasons, but no longer does. It has > only worked once. Erasing all the flash (aside from first 512kb) > works without any error messages, but when trying to flash it still > insists that the flash is not erased. Looking with md also seems

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Kristoffer Ericson
On Tue, Jun 08, 2010 at 04:31:15PM +0200, Stefano Babic wrote: > Kristoffer Ericson wrote: > > > You are quite correct in that, thx. that also explains why it > > took a good while longer than usual. > > > > I cannot seem to shake the "Flash not Erased" problem though. Was thinking > > to increas

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Stefano Babic
Kristoffer Ericson wrote: > You are quite correct in that, thx. that also explains why it > took a good while longer than usual. > > I cannot seem to shake the "Flash not Erased" problem though. Was thinking > to increase timeout of erase/write but they dont change even when I change > the CONFIG

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Kristoffer Ericson
On Tue, Jun 08, 2010 at 03:05:44PM +0200, Stefano Babic wrote: > Kristoffer Ericson wrote: > > Greetings, > > > > Hi, > > > When I do: > > HP Jornada# cp.b 0xC0008 0x0008 1296996 (<- my kernel size) > > Copy to flash... . (and just sits there) > > u-boot uses hexadecimal as default and

Re: [U-Boot] Problems flashing kernel

2010-06-08 Thread Stefano Babic
Kristoffer Ericson wrote: > Greetings, > Hi, > When I do: > HP Jornada# cp.b 0xC0008 0x0008 1296996 (<- my kernel size) > Copy to flash... . (and just sits there) u-boot uses hexadecimal as default and you do not need to use the 0x notation. however, 1296996 is interpreted as hexadecima

[U-Boot] Problems flashing kernel

2010-06-08 Thread Kristoffer Ericson
Greetings, Im having issues making flashing work on my platform. Earlier it responded that flash was not erased, but after doing : HP Jornada# erase 0x0008 0x03BF it worked. When I do: HP Jornada# cp.b 0xC0008 0x0008 1296996 (<- my kernel size) Copy to flash... . (and just sits th