mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* mini2440 (256MB NAND)
@ 2013-07-08 21:42 Cristiano Rodrigues
  2013-07-09 17:40 ` Sascha Hauer
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Cristiano Rodrigues @ 2013-07-08 21:42 UTC (permalink / raw)
  To: barebox

Hi there :)
 
I'm trying to run the barebox (trunk version or any other recent version) in 
my mini2440 board but until now, I can't boot from nand.
 
I'm able to run it from RAM but I'm unable to boot it from NAND
 
Here it is what I did:
********************************
Compiling the barebox:
 
made some changes in the arch/arm/boards/friendlyarm-mini2440/env/config file
 
make friendlyarm_mini2440_defconfig
 
make menuconfig
 
make
*******************************
Lodad the barebox.bin to the mini2440:
 
put the S2 connector in NOR position
RESET
pushed the "x" option on vivi
 
Enter your selection: x
Found block size = 0x00020000
Erasing...    ... done
Writing...    ... done
Written 49152 bytes
Saved vivi private data
 
 
RESET again
pushed the "q" option on vivi
 
Supervivi> load ram 0x32000000 206420 u
USB host is connected. Waiting a download.
 
Now, Downloading [ADDRESS:32000000h,TOTAL:206430]
RECEIVED FILE SIZE:  206430 (201KB/S, 1S)
Downloaded file at 0x32000000, size = 206420 bytes
 
Supervivi> go 0x32000000
go to 0x32000000
  argument 0 = 0x00000000
  argument 1 = 0x00000000
  argument 2 = 0x00000000
  argument 3 = 0x00000000
 
barebox 2013.07.0-00228-gf457f68-dirty #13 Mon Jul 8 12:19:15 WEST 2013
 
Board: Mini 2440
 
nand: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V
8-bit), page size: 2048, OOB size: 64
nand: Bad block table not found for chip 0
nand: Bad block table not found for chip 0
nand: Scanning device for bad blocks
nand: Bad eraseblock 205 at 0x019a0000
nand: Bad eraseblock 570 at 0x04740000
nand: Bad eraseblock 2013 at 0x0fba0000
dm9000 dm90000: Found DM9000E at i/o: 0x20000300
mdio_bus: miibus0: probed
s3c_mci s3c_mci0: registered as s3c_mci0
malloc space: 0x31bf8000 -> 0x31ff7fff (size 4 MiB)
refclk:    12000 kHz
mpll:     405000 kHz
upll:      48000 kHz
fclk:     405000 kHz
hclk:     101250 kHz
pclk:      50625 kHz
SDRAM1:   CL4@101MHz
SDRAM2:   CL4@101MHz
envfs: wrong magic on /dev/env0
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...
set parameter: Invalid argument
Hit any key to stop autoboot:  2
mini2440:/ 
mini2440:/ saveenv
saving environment
mini2440:/ update -t barebox -d nand
set parameter: Invalid argument
warning: No MAC address set. Using random address F2:14:71:AE:1E:F0
100Mbps full duplex link detected
DHCP client bound to address 10.42.0.73
host 10.42.0.1 is alive
 
erasing partition /dev/nand0.barebox.bb
 
flashing barebox.bin to /dev/nand0.barebox.bb
  [                                                                 ]
  [#################################################################
mini2440:/ 
mini2440:/ nand_boot_test 0x31000000 0x40000
mini2440:/ go 0x31000000
## Starting application at 0x31000000 ...
 
barebox 2013.07.0-00228-gf457f68-dirty #13 Mon Jul 8 12:19:15 WEST 2013
 
Board: Mini 2440
 
nand: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V
8-bit), page size: 2048, OOB size: 64
dm9000 dm90000: Found DM9000E at i/o: 0x20000300
mdio_bus: miibus0: probed
s3c_mci s3c_mci0: registered as s3c_mci0
malloc space: 0x31bf8000 -> 0x31ff7fff (size 4 MiB)
refclk:    12000 kHz
mpll:     405000 kHz
upll:      48000 kHz
fclk:     405000 kHz
hclk:     101250 kHz
pclk:      50625 kHz
SDRAM1:   CL4@101MHz
SDRAM2:   CL4@101MHz
running /env/bin/init...
set parameter: Invalid argument
Hit any key to stop autoboot:  2
mini2440:/ 
 
that step 
mini2440:/ nand_boot_test 0x31000000 0x40000
mini2440:/ go 0x31000000
is to check if the downloaded image is alright... and as we can see,
it is alright.
 
Now, I put the S2 in NAND position, RESET and nothing happens :(
 
What am I doing wrong?
 
Thank you for any help that you can provide.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mini2440 (256MB NAND)
  2013-07-08 21:42 mini2440 (256MB NAND) Cristiano Rodrigues
@ 2013-07-09 17:40 ` Sascha Hauer
  2013-07-22  7:59   ` Jürgen Beisert
  2013-07-16 10:17 ` Cristiano Rodrigues
  2013-07-16 10:19 ` Cristiano Rodrigues
  2 siblings, 1 reply; 7+ messages in thread
From: Sascha Hauer @ 2013-07-09 17:40 UTC (permalink / raw)
  To: Cristiano Rodrigues; +Cc: barebox

On Mon, Jul 08, 2013 at 10:42:43PM +0100, Cristiano Rodrigues wrote:
> Hi there :)
>  
> I'm trying to run the barebox (trunk version or any other recent version) in 
> my mini2440 board but until now, I can't boot from nand.
>

Sorry, I can't help you with friendlyarm. Probably Jürgen has an idea,
but he is on holiday at the moment. Maybe he can help you once he's
back.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mini2440 (256MB NAND)
  2013-07-08 21:42 mini2440 (256MB NAND) Cristiano Rodrigues
  2013-07-09 17:40 ` Sascha Hauer
@ 2013-07-16 10:17 ` Cristiano Rodrigues
  2013-07-16 10:19 ` Cristiano Rodrigues
  2 siblings, 0 replies; 7+ messages in thread
From: Cristiano Rodrigues @ 2013-07-16 10:17 UTC (permalink / raw)
  To: barebox

Hi again :)

It seems that there is nothing wrong with the mini2440 code.
I tested almost every monthly builds and all builds until the June build are 
able to boot from NAND with out any problem.

In fact I'm very happy with the barebox-2013.05.1, it works very well on the 
mini2440 platform (thank you for your hard work :) ).

Nevertheless, after the barebox-2013.05.1 build, the boot from NAND on 
mini2440 is broken and since I don't see any mini2440 code change in the mail 
archive for May, June and July, it is possible that some change in the barebox 
core broke the boot from NAND in mini2440.

On Monday 08 July 2013 22:42:43 Cristiano Rodrigues wrote:
> Hi there :)
> 
> I'm trying to run the barebox (trunk version or any other recent version) in
> my mini2440 board but until now, I can't boot from nand.
> 
> I'm able to run it from RAM but I'm unable to boot it from NAND
> 
> Here it is what I did:
> ********************************
> Compiling the barebox:
> 
> made some changes in the arch/arm/boards/friendlyarm-mini2440/env/config
> file
> 
> make friendlyarm_mini2440_defconfig
> 
> make menuconfig
> 
> make
> *******************************
> Lodad the barebox.bin to the mini2440:
> 
> put the S2 connector in NOR position
> RESET
> pushed the "x" option on vivi
> 
> Enter your selection: x
> Found block size = 0x00020000
> Erasing...    ... done
> Writing...    ... done
> Written 49152 bytes
> Saved vivi private data
> 
> 
> RESET again
> pushed the "q" option on vivi
> 
> Supervivi> load ram 0x32000000 206420 u
> USB host is connected. Waiting a download.
> 
> Now, Downloading [ADDRESS:32000000h,TOTAL:206430]
> RECEIVED FILE SIZE:  206430 (201KB/S, 1S)
> Downloaded file at 0x32000000, size = 206420 bytes
> 
> Supervivi> go 0x32000000
> go to 0x32000000
>   argument 0 = 0x00000000
>   argument 1 = 0x00000000
>   argument 2 = 0x00000000
>   argument 3 = 0x00000000
> 
> barebox 2013.07.0-00228-gf457f68-dirty #13 Mon Jul 8 12:19:15 WEST 2013
> 
> Board: Mini 2440
> 
> nand: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V
> 8-bit), page size: 2048, OOB size: 64
> nand: Bad block table not found for chip 0
> nand: Bad block table not found for chip 0
> nand: Scanning device for bad blocks
> nand: Bad eraseblock 205 at 0x019a0000
> nand: Bad eraseblock 570 at 0x04740000
> nand: Bad eraseblock 2013 at 0x0fba0000
> dm9000 dm90000: Found DM9000E at i/o: 0x20000300
> mdio_bus: miibus0: probed
> s3c_mci s3c_mci0: registered as s3c_mci0
> malloc space: 0x31bf8000 -> 0x31ff7fff (size 4 MiB)
> refclk:    12000 kHz
> mpll:     405000 kHz
> upll:      48000 kHz
> fclk:     405000 kHz
> hclk:     101250 kHz
> pclk:      50625 kHz
> SDRAM1:   CL4@101MHz
> SDRAM2:   CL4@101MHz
> envfs: wrong magic on /dev/env0
> no valid environment found on /dev/env0. Using default environment
> running /env/bin/init...
> set parameter: Invalid argument
> Hit any key to stop autoboot:  2
> mini2440:/
> mini2440:/ saveenv
> saving environment
> mini2440:/ update -t barebox -d nand
> set parameter: Invalid argument
> warning: No MAC address set. Using random address F2:14:71:AE:1E:F0
> 100Mbps full duplex link detected
> DHCP client bound to address 10.42.0.73
> host 10.42.0.1 is alive
> 
> erasing partition /dev/nand0.barebox.bb
> 
> flashing barebox.bin to /dev/nand0.barebox.bb
>   [                                                                 ]
>   [#################################################################
> mini2440:/
> mini2440:/ nand_boot_test 0x31000000 0x40000
> mini2440:/ go 0x31000000
> ## Starting application at 0x31000000 ...
> 
> barebox 2013.07.0-00228-gf457f68-dirty #13 Mon Jul 8 12:19:15 WEST 2013
> 
> Board: Mini 2440
> 
> nand: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V
> 8-bit), page size: 2048, OOB size: 64
> dm9000 dm90000: Found DM9000E at i/o: 0x20000300
> mdio_bus: miibus0: probed
> s3c_mci s3c_mci0: registered as s3c_mci0
> malloc space: 0x31bf8000 -> 0x31ff7fff (size 4 MiB)
> refclk:    12000 kHz
> mpll:     405000 kHz
> upll:      48000 kHz
> fclk:     405000 kHz
> hclk:     101250 kHz
> pclk:      50625 kHz
> SDRAM1:   CL4@101MHz
> SDRAM2:   CL4@101MHz
> running /env/bin/init...
> set parameter: Invalid argument
> Hit any key to stop autoboot:  2
> mini2440:/
> 
> that step
> mini2440:/ nand_boot_test 0x31000000 0x40000
> mini2440:/ go 0x31000000
> is to check if the downloaded image is alright... and as we can see,
> it is alright.
> 
> Now, I put the S2 in NAND position, RESET and nothing happens :(
> 
> What am I doing wrong?
> 
> Thank you for any help that you can provide.
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mini2440 (256MB NAND)
  2013-07-08 21:42 mini2440 (256MB NAND) Cristiano Rodrigues
  2013-07-09 17:40 ` Sascha Hauer
  2013-07-16 10:17 ` Cristiano Rodrigues
@ 2013-07-16 10:19 ` Cristiano Rodrigues
  2013-07-16 10:22   ` Lucas Stach
  2 siblings, 1 reply; 7+ messages in thread
From: Cristiano Rodrigues @ 2013-07-16 10:19 UTC (permalink / raw)
  To: barebox

Hi again :)

It seems that there is nothing wrong with the mini2440 code.
I tested almost every monthly builds and all builds until the June build are 
able to boot from NAND with out any problem.

In fact I'm very happy with the barebox-2013.05.1, it works very well on the 
mini2440 platform (thank you for your hard work :) ).

Nevertheless, after the barebox-2013.05.1 build, the boot from NAND on 
mini2440 is broken and since I don't see any mini2440 code change in the mail 
archive for May, June and July, it is possible that some change in the barebox 
core broke the boot from NAND in mini2440.

On Monday 08 July 2013 22:42:43 Cristiano Rodrigues wrote:
> Hi there :)
> 
> I'm trying to run the barebox (trunk version or any other recent version) in
> my mini2440 board but until now, I can't boot from nand.
> 
> I'm able to run it from RAM but I'm unable to boot it from NAND
> 
> Here it is what I did:
> ********************************
> Compiling the barebox:
> 
> made some changes in the arch/arm/boards/friendlyarm-mini2440/env/config
> file
> 
> make friendlyarm_mini2440_defconfig
> 
> make menuconfig
> 
> make
> *******************************
> Lodad the barebox.bin to the mini2440:
> 
> put the S2 connector in NOR position
> RESET
> pushed the "x" option on vivi
> 
> Enter your selection: x
> Found block size = 0x00020000
> Erasing...    ... done
> Writing...    ... done
> Written 49152 bytes
> Saved vivi private data
> 
> 
> RESET again
> pushed the "q" option on vivi
> 
> Supervivi> load ram 0x32000000 206420 u
> USB host is connected. Waiting a download.
> 
> Now, Downloading [ADDRESS:32000000h,TOTAL:206430]
> RECEIVED FILE SIZE:  206430 (201KB/S, 1S)
> Downloaded file at 0x32000000, size = 206420 bytes
> 
> Supervivi> go 0x32000000
> go to 0x32000000
>   argument 0 = 0x00000000
>   argument 1 = 0x00000000
>   argument 2 = 0x00000000
>   argument 3 = 0x00000000
> 
> barebox 2013.07.0-00228-gf457f68-dirty #13 Mon Jul 8 12:19:15 WEST 2013
> 
> Board: Mini 2440
> 
> nand: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V
> 8-bit), page size: 2048, OOB size: 64
> nand: Bad block table not found for chip 0
> nand: Bad block table not found for chip 0
> nand: Scanning device for bad blocks
> nand: Bad eraseblock 205 at 0x019a0000
> nand: Bad eraseblock 570 at 0x04740000
> nand: Bad eraseblock 2013 at 0x0fba0000
> dm9000 dm90000: Found DM9000E at i/o: 0x20000300
> mdio_bus: miibus0: probed
> s3c_mci s3c_mci0: registered as s3c_mci0
> malloc space: 0x31bf8000 -> 0x31ff7fff (size 4 MiB)
> refclk:    12000 kHz
> mpll:     405000 kHz
> upll:      48000 kHz
> fclk:     405000 kHz
> hclk:     101250 kHz
> pclk:      50625 kHz
> SDRAM1:   CL4@101MHz
> SDRAM2:   CL4@101MHz
> envfs: wrong magic on /dev/env0
> no valid environment found on /dev/env0. Using default environment
> running /env/bin/init...
> set parameter: Invalid argument
> Hit any key to stop autoboot:  2
> mini2440:/
> mini2440:/ saveenv
> saving environment
> mini2440:/ update -t barebox -d nand
> set parameter: Invalid argument
> warning: No MAC address set. Using random address F2:14:71:AE:1E:F0
> 100Mbps full duplex link detected
> DHCP client bound to address 10.42.0.73
> host 10.42.0.1 is alive
> 
> erasing partition /dev/nand0.barebox.bb
> 
> flashing barebox.bin to /dev/nand0.barebox.bb
>   [                                                                 ]
>   [#################################################################
> mini2440:/
> mini2440:/ nand_boot_test 0x31000000 0x40000
> mini2440:/ go 0x31000000
> ## Starting application at 0x31000000 ...
> 
> barebox 2013.07.0-00228-gf457f68-dirty #13 Mon Jul 8 12:19:15 WEST 2013
> 
> Board: Mini 2440
> 
> nand: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V
> 8-bit), page size: 2048, OOB size: 64
> dm9000 dm90000: Found DM9000E at i/o: 0x20000300
> mdio_bus: miibus0: probed
> s3c_mci s3c_mci0: registered as s3c_mci0
> malloc space: 0x31bf8000 -> 0x31ff7fff (size 4 MiB)
> refclk:    12000 kHz
> mpll:     405000 kHz
> upll:      48000 kHz
> fclk:     405000 kHz
> hclk:     101250 kHz
> pclk:      50625 kHz
> SDRAM1:   CL4@101MHz
> SDRAM2:   CL4@101MHz
> running /env/bin/init...
> set parameter: Invalid argument
> Hit any key to stop autoboot:  2
> mini2440:/
> 
> that step
> mini2440:/ nand_boot_test 0x31000000 0x40000
> mini2440:/ go 0x31000000
> is to check if the downloaded image is alright... and as we can see,
> it is alright.
> 
> Now, I put the S2 in NAND position, RESET and nothing happens :(
> 
> What am I doing wrong?
> 
> Thank you for any help that you can provide.
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mini2440 (256MB NAND)
  2013-07-16 10:19 ` Cristiano Rodrigues
@ 2013-07-16 10:22   ` Lucas Stach
  0 siblings, 0 replies; 7+ messages in thread
From: Lucas Stach @ 2013-07-16 10:22 UTC (permalink / raw)
  To: Cristiano Rodrigues; +Cc: barebox

Am Dienstag, den 16.07.2013, 11:19 +0100 schrieb Cristiano Rodrigues:
> Hi again :)
> 
> It seems that there is nothing wrong with the mini2440 code.
> I tested almost every monthly builds and all builds until the June build are 
> able to boot from NAND with out any problem.
> 
> In fact I'm very happy with the barebox-2013.05.1, it works very well on the 
> mini2440 platform (thank you for your hard work :) ).
> 
> Nevertheless, after the barebox-2013.05.1 build, the boot from NAND on 
> mini2440 is broken and since I don't see any mini2440 code change in the mail 
> archive for May, June and July, it is possible that some change in the barebox 
> core broke the boot from NAND in mini2440.
> 
Could you bisect the issue? If you know 2013.06 is broken and 2013.05 is
still good it should be just a few steps.

Knowing the offending commit highly increases the chance to get this
fixed in a timely manner.

> On Monday 08 July 2013 22:42:43 Cristiano Rodrigues wrote:
> > Hi there :)
> > 
> > I'm trying to run the barebox (trunk version or any other recent version) in
> > my mini2440 board but until now, I can't boot from nand.
> > 
> > I'm able to run it from RAM but I'm unable to boot it from NAND
> > 
> > Here it is what I did:
> > ********************************
> > Compiling the barebox:
> > 
> > made some changes in the arch/arm/boards/friendlyarm-mini2440/env/config
> > file
> > 
> > make friendlyarm_mini2440_defconfig
> > 
> > make menuconfig
> > 
> > make
> > *******************************
> > Lodad the barebox.bin to the mini2440:
> > 
> > put the S2 connector in NOR position
> > RESET
> > pushed the "x" option on vivi
> > 
> > Enter your selection: x
> > Found block size = 0x00020000
> > Erasing...    ... done
> > Writing...    ... done
> > Written 49152 bytes
> > Saved vivi private data
> > 
> > 
> > RESET again
> > pushed the "q" option on vivi
> > 
> > Supervivi> load ram 0x32000000 206420 u
> > USB host is connected. Waiting a download.
> > 
> > Now, Downloading [ADDRESS:32000000h,TOTAL:206430]
> > RECEIVED FILE SIZE:  206430 (201KB/S, 1S)
> > Downloaded file at 0x32000000, size = 206420 bytes
> > 
> > Supervivi> go 0x32000000
> > go to 0x32000000
> >   argument 0 = 0x00000000
> >   argument 1 = 0x00000000
> >   argument 2 = 0x00000000
> >   argument 3 = 0x00000000
> > 
> > barebox 2013.07.0-00228-gf457f68-dirty #13 Mon Jul 8 12:19:15 WEST 2013
> > 
> > Board: Mini 2440
> > 
> > nand: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V
> > 8-bit), page size: 2048, OOB size: 64
> > nand: Bad block table not found for chip 0
> > nand: Bad block table not found for chip 0
> > nand: Scanning device for bad blocks
> > nand: Bad eraseblock 205 at 0x019a0000
> > nand: Bad eraseblock 570 at 0x04740000
> > nand: Bad eraseblock 2013 at 0x0fba0000
> > dm9000 dm90000: Found DM9000E at i/o: 0x20000300
> > mdio_bus: miibus0: probed
> > s3c_mci s3c_mci0: registered as s3c_mci0
> > malloc space: 0x31bf8000 -> 0x31ff7fff (size 4 MiB)
> > refclk:    12000 kHz
> > mpll:     405000 kHz
> > upll:      48000 kHz
> > fclk:     405000 kHz
> > hclk:     101250 kHz
> > pclk:      50625 kHz
> > SDRAM1:   CL4@101MHz
> > SDRAM2:   CL4@101MHz
> > envfs: wrong magic on /dev/env0
> > no valid environment found on /dev/env0. Using default environment
> > running /env/bin/init...
> > set parameter: Invalid argument
> > Hit any key to stop autoboot:  2
> > mini2440:/
> > mini2440:/ saveenv
> > saving environment
> > mini2440:/ update -t barebox -d nand
> > set parameter: Invalid argument
> > warning: No MAC address set. Using random address F2:14:71:AE:1E:F0
> > 100Mbps full duplex link detected
> > DHCP client bound to address 10.42.0.73
> > host 10.42.0.1 is alive
> > 
> > erasing partition /dev/nand0.barebox.bb
> > 
> > flashing barebox.bin to /dev/nand0.barebox.bb
> >   [                                                                 ]
> >   [#################################################################
> > mini2440:/
> > mini2440:/ nand_boot_test 0x31000000 0x40000
> > mini2440:/ go 0x31000000
> > ## Starting application at 0x31000000 ...
> > 
> > barebox 2013.07.0-00228-gf457f68-dirty #13 Mon Jul 8 12:19:15 WEST 2013
> > 
> > Board: Mini 2440
> > 
> > nand: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V
> > 8-bit), page size: 2048, OOB size: 64
> > dm9000 dm90000: Found DM9000E at i/o: 0x20000300
> > mdio_bus: miibus0: probed
> > s3c_mci s3c_mci0: registered as s3c_mci0
> > malloc space: 0x31bf8000 -> 0x31ff7fff (size 4 MiB)
> > refclk:    12000 kHz
> > mpll:     405000 kHz
> > upll:      48000 kHz
> > fclk:     405000 kHz
> > hclk:     101250 kHz
> > pclk:      50625 kHz
> > SDRAM1:   CL4@101MHz
> > SDRAM2:   CL4@101MHz
> > running /env/bin/init...
> > set parameter: Invalid argument
> > Hit any key to stop autoboot:  2
> > mini2440:/
> > 
> > that step
> > mini2440:/ nand_boot_test 0x31000000 0x40000
> > mini2440:/ go 0x31000000
> > is to check if the downloaded image is alright... and as we can see,
> > it is alright.
> > 
> > Now, I put the S2 in NAND position, RESET and nothing happens :(
> > 
> > What am I doing wrong?
> > 
> > Thank you for any help that you can provide.
> > 
> > _______________________________________________
> > barebox mailing list
> > barebox@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/barebox
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
Pengutronix e.K.                           | Lucas Stach                 |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5076 |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mini2440 (256MB NAND)
  2013-07-09 17:40 ` Sascha Hauer
@ 2013-07-22  7:59   ` Jürgen Beisert
  2013-08-08 18:02     ` Cristiano Rodrigues
  0 siblings, 1 reply; 7+ messages in thread
From: Jürgen Beisert @ 2013-07-22  7:59 UTC (permalink / raw)
  To: barebox

Hi Cristiano,

On Tuesday 09 July 2013 19:40:49 Sascha Hauer wrote:
> On Mon, Jul 08, 2013 at 10:42:43PM +0100, Cristiano Rodrigues wrote:
> > I'm trying to run the barebox (trunk version or any other recent version)
> > in my mini2440 board but until now, I can't boot from nand.
>
> Sorry, I can't help you with friendlyarm. Probably Jürgen has an idea,
> but he is on holiday at the moment. Maybe he can help you once he's
> back.

I'm back now ;)
AFAIK there was some change in the generic bootstrap code. I guess the base 
code in the stepping stone RAM skipps the DRAM initialization by accident due 
to this change. That's why it works when the DRAM is already up and running 
and it fails if not.

Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-5121-206917-5128 |
Peiner Str. 6-8, 31137 Hildesheim, Germany    | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: mini2440 (256MB NAND)
  2013-07-22  7:59   ` Jürgen Beisert
@ 2013-08-08 18:02     ` Cristiano Rodrigues
  0 siblings, 0 replies; 7+ messages in thread
From: Cristiano Rodrigues @ 2013-08-08 18:02 UTC (permalink / raw)
  To: Jürgen Beisert; +Cc: barebox

Hi Juergen!

I don't know if it was you or not but the problem seem to be solved :)

thanks for answering :)

On Monday 22 July 2013 09:59:23 you wrote:
> Hi Cristiano,
> 
> On Tuesday 09 July 2013 19:40:49 Sascha Hauer wrote:
> > On Mon, Jul 08, 2013 at 10:42:43PM +0100, Cristiano Rodrigues wrote:
> > > I'm trying to run the barebox (trunk version or any other recent
> > > version)
> > > in my mini2440 board but until now, I can't boot from nand.
> > 
> > Sorry, I can't help you with friendlyarm. Probably Jürgen has an idea,
> > but he is on holiday at the moment. Maybe he can help you once he's
> > back.
> 
> I'm back now ;)
> AFAIK there was some change in the generic bootstrap code. I guess the base
> code in the stepping stone RAM skipps the DRAM initialization by accident
> due to this change. That's why it works when the DRAM is already up and
> running and it fails if not.
> 
> Juergen

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-08 19:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-08 21:42 mini2440 (256MB NAND) Cristiano Rodrigues
2013-07-09 17:40 ` Sascha Hauer
2013-07-22  7:59   ` Jürgen Beisert
2013-08-08 18:02     ` Cristiano Rodrigues
2013-07-16 10:17 ` Cristiano Rodrigues
2013-07-16 10:19 ` Cristiano Rodrigues
2013-07-16 10:22   ` Lucas Stach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox