mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Create NAND Partition through barebox
@ 2012-03-29 11:55 christian.buettner
  2012-03-29 12:03 ` Eric Bénard
  2012-03-29 12:08 ` Alexander Aring
  0 siblings, 2 replies; 11+ messages in thread
From: christian.buettner @ 2012-03-29 11:55 UTC (permalink / raw)
  To: barebox


[-- Attachment #1.1: Type: text/plain, Size: 1187 bytes --]

Hi,

i need to create a NAND Partition through the barebox prompt to be able to 
flash a kernel image on it.

This is the current devinfo of my target:

barebox:/ devinfo 
devices:
`---- imx_serial0
     `---- cs0
`---- mem0
     `---- 0x00000000-0x1fffffff: /dev/ram0
`---- mem1
     `---- 0x00000000-0x1fffffff: /dev/ram1
`---- imx_iim0
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank0
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank1
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank2
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank3
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank4
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank5
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank6
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank7
`---- ramfs0
`---- devfs0
`---- mem2
     `---- 0x00000000-0x000018ab: /dev/defaultenv
`---- mem3
     `---- 0x00000000-0xfffffffe: /dev/mem
`---- cs1
`---- fec_imx0
     `---- miidev0
          `---- 0x00000000-0x0000003f: /dev/phy0
     `---- eth0

drivers:
imx_serial
     ramfs
     devfs
   imx_iim
   fec_imx
    miidev
       mem


I tried using
$ nand -a /dev/nand0.*

Nothing happens..
What is wrong?

- - Christian

[-- Attachment #1.2: Type: text/html, Size: 3392 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

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

* Re: Create NAND Partition through barebox
  2012-03-29 11:55 Create NAND Partition through barebox christian.buettner
@ 2012-03-29 12:03 ` Eric Bénard
  2012-03-29 12:32   ` Antwort: " christian.buettner
  2012-03-29 12:08 ` Alexander Aring
  1 sibling, 1 reply; 11+ messages in thread
From: Eric Bénard @ 2012-03-29 12:03 UTC (permalink / raw)
  To: barebox

Hi,

Le Thu, 29 Mar 2012 13:55:43 +0200,
christian.buettner@rafi.de a écrit :
> i need to create a NAND Partition through the barebox prompt to be able to 
> flash a kernel image on it.
> 
>.../...
> 
> I tried using
> $ nand -a /dev/nand0.*
> 
> Nothing happens..
> What is wrong?
> 
do you have the partition definition in your /env/config file ?

Eric

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

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

* Re: Create NAND Partition through barebox
  2012-03-29 11:55 Create NAND Partition through barebox christian.buettner
  2012-03-29 12:03 ` Eric Bénard
@ 2012-03-29 12:08 ` Alexander Aring
  2012-03-29 12:15   ` Antwort: " christian.buettner
  1 sibling, 1 reply; 11+ messages in thread
From: Alexander Aring @ 2012-03-29 12:08 UTC (permalink / raw)
  To: christian.buettner; +Cc: barebox


[-- Attachment #1.1: Type: text/plain, Size: 1834 bytes --]

Hi,

you can create NAND Partitons with nand_parts variable in /env/config.

For example nand_parts="256k(barebox)ro,128k(bareboxenv),3M(kernel),-(root)"

nand -a nand0.* only creates a bb device that will handle badblocks if they
appear.

Cheers
Alex

Am 29. März 2012 13:55 schrieb <christian.buettner@rafi.de>:

> Hi,
>
> i need to create a NAND Partition through the barebox prompt to be able to
> flash a kernel image on it.
>
> This is the current devinfo of my target:
>
> barebox:/ devinfo
> devices:
> `---- imx_serial0
>      `---- cs0
> `---- mem0
>      `---- 0x00000000-0x1fffffff: /dev/ram0
> `---- mem1
>      `---- 0x00000000-0x1fffffff: /dev/ram1
> `---- imx_iim0
>      `---- 0x00000000-0x0000001f: /dev/imx_iim_bank0
>      `---- 0x00000000-0x0000001f: /dev/imx_iim_bank1
>      `---- 0x00000000-0x0000001f: /dev/imx_iim_bank2
>      `---- 0x00000000-0x0000001f: /dev/imx_iim_bank3
>      `---- 0x00000000-0x0000001f: /dev/imx_iim_bank4
>      `---- 0x00000000-0x0000001f: /dev/imx_iim_bank5
>      `---- 0x00000000-0x0000001f: /dev/imx_iim_bank6
>      `---- 0x00000000-0x0000001f: /dev/imx_iim_bank7
> `---- ramfs0
> `---- devfs0
> `---- mem2
>      `---- 0x00000000-0x000018ab: /dev/defaultenv
> `---- mem3
>      `---- 0x00000000-0xfffffffe: /dev/mem
> `---- cs1
> `---- fec_imx0
>      `---- miidev0
>           `---- 0x00000000-0x0000003f: /dev/phy0
>      `---- eth0
>
> drivers:
> imx_serial
>      ramfs
>      devfs
>    imx_iim
>    fec_imx
>     miidev
>        mem
>
>
> I tried using
> $ nand -a /dev/nand0.*
>
> Nothing happens..
> What is wrong?
>
> - - Christian
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
>

[-- Attachment #1.2: Type: text/html, Size: 3822 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

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

* Antwort: Re: Create NAND Partition through barebox
  2012-03-29 12:08 ` Alexander Aring
@ 2012-03-29 12:15   ` christian.buettner
  0 siblings, 0 replies; 11+ messages in thread
From: christian.buettner @ 2012-03-29 12:15 UTC (permalink / raw)
  To: Alexander Aring; +Cc: barebox


[-- Attachment #1.1: Type: text/plain, Size: 2231 bytes --]

I see!
I have an entry in the env/config:
nand_parts="256k(barebox)ro,768k(bareboxenv),4M(kernel),128M(root)"

The Problem might be, that the NAND Flash size is only 128M.
I took the script from another platform..

 - - Christian



Von:    Alexander Aring <alex.aring@googlemail.com>
An:     christian.buettner@rafi.de
Kopie:  barebox@lists.infradead.org
Datum:  29.03.2012 14:08
Betreff:        Re: Create NAND Partition through barebox



Hi,

you can create NAND Partitons with nand_parts variable in /env/config.

For example 
nand_parts="256k(barebox)ro,128k(bareboxenv),3M(kernel),-(root)"

nand -a nand0.* only creates a bb device that will handle badblocks if 
they appear.

Cheers
Alex

Am 29. März 2012 13:55 schrieb <christian.buettner@rafi.de>:
Hi, 

i need to create a NAND Partition through the barebox prompt to be able to 
flash a kernel image on it. 

This is the current devinfo of my target: 

barebox:/ devinfo 
devices: 
`---- imx_serial0 
     `---- cs0 
`---- mem0 
     `---- 0x00000000-0x1fffffff: /dev/ram0 
`---- mem1 
     `---- 0x00000000-0x1fffffff: /dev/ram1 
`---- imx_iim0 
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank0 
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank1 
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank2 
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank3 
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank4 
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank5 
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank6 
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank7 
`---- ramfs0 
`---- devfs0 
`---- mem2 
     `---- 0x00000000-0x000018ab: /dev/defaultenv 
`---- mem3 
     `---- 0x00000000-0xfffffffe: /dev/mem 
`---- cs1 
`---- fec_imx0 
     `---- miidev0 
          `---- 0x00000000-0x0000003f: /dev/phy0 
     `---- eth0 

drivers: 
imx_serial 
     ramfs 
     devfs 
   imx_iim 
   fec_imx 
    miidev 
       mem 


I tried using 
$ nand -a /dev/nand0.* 

Nothing happens.. 
What is wrong? 

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



[-- Attachment #1.2: Type: text/html, Size: 6744 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

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

* Antwort: Re: Create NAND Partition through barebox
  2012-03-29 12:03 ` Eric Bénard
@ 2012-03-29 12:32   ` christian.buettner
  2012-03-29 12:34     ` Eric Bénard
  2012-03-29 12:40     ` Alexander Aring
  0 siblings, 2 replies; 11+ messages in thread
From: christian.buettner @ 2012-03-29 12:32 UTC (permalink / raw)
  To: Eric Bénard; +Cc: barebox, barebox-bounces


[-- Attachment #1.1: Type: text/plain, Size: 1213 bytes --]

This is my current config:

#!/bin/sh

machine=test

kernel_loc=nand
rootfs_loc=nand

rootfs_type=ubifs

kernel=zImage
rootfs=rootfs
envimage=environ.bin

autoboot_timeout=3

nfsroot="/tools/rootfs/test"

console="console=ttymxc0,115200"

bootargs=${console}

nand_parts="256k(barebox)ro,768k(bareboxenv),4M(kernel),-(root)"
kdev="/dev/nand0.kernel.bb"
rootfs_mtdblock_nand=3



But i see no NAND in devinfo

- - Christian



Von:    Eric Bénard <eric@eukrea.com>
An:     barebox@lists.infradead.org
Datum:  29.03.2012 14:04
Betreff:        Re: Create NAND Partition through barebox
Gesendet von:   barebox-bounces@lists.infradead.org



Hi,

Le Thu, 29 Mar 2012 13:55:43 +0200,
christian.buettner@rafi.de a écrit :
> i need to create a NAND Partition through the barebox prompt to be able 
to 
> flash a kernel image on it.
> 
>.../...
> 
> I tried using
> $ nand -a /dev/nand0.*
> 
> Nothing happens..
> What is wrong?
> 
do you have the partition definition in your /env/config file ?

Eric

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


[-- Attachment #1.2: Type: text/html, Size: 2982 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

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

* Re: Create NAND Partition through barebox
  2012-03-29 12:32   ` Antwort: " christian.buettner
@ 2012-03-29 12:34     ` Eric Bénard
  2012-03-29 12:40     ` Alexander Aring
  1 sibling, 0 replies; 11+ messages in thread
From: Eric Bénard @ 2012-03-29 12:34 UTC (permalink / raw)
  To: christian.buettner; +Cc: barebox

Le Thu, 29 Mar 2012 14:32:01 +0200,
christian.buettner@rafi.de a écrit :

> This is my current config:
> 
> #!/bin/sh
> 
> machine=test
> 
> kernel_loc=nand
> rootfs_loc=nand
> 
> rootfs_type=ubifs
> 
> kernel=zImage
> rootfs=rootfs
> envimage=environ.bin
> 
> autoboot_timeout=3
> 
> nfsroot="/tools/rootfs/test"
> 
> console="console=ttymxc0,115200"
> 
> bootargs=${console}
> 
> nand_parts="256k(barebox)ro,768k(bareboxenv),4M(kernel),-(root)"
> kdev="/dev/nand0.kernel.bb"
> rootfs_mtdblock_nand=3
> 
> 
> 
> But i see no NAND in devinfo
> 
this one works on an i.MX535 here :
nand_parts="512k(barebox)ro,512k(bareboxenv),3M(kernel),-(root)"
rootfs_mtdblock_nand=3
nand_device="mxc_nand"
ubiroot="$machine-rootfs"
device_type="nand"

Eric

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

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

* Re: Re: Create NAND Partition through barebox
  2012-03-29 12:32   ` Antwort: " christian.buettner
  2012-03-29 12:34     ` Eric Bénard
@ 2012-03-29 12:40     ` Alexander Aring
  2012-03-29 12:59       ` Antwort: " christian.buettner
  1 sibling, 1 reply; 11+ messages in thread
From: Alexander Aring @ 2012-03-29 12:40 UTC (permalink / raw)
  To: christian.buettner; +Cc: barebox


[-- Attachment #1.1: Type: text/plain, Size: 1781 bytes --]

Hi,

is there a /dev/nand0 device?

/env/bin/init call "addpart /dev/nand0 $nand_parts" and create these
partitions.
Or maybe the command is not available?

Alex

Am 29. März 2012 14:32 schrieb <christian.buettner@rafi.de>:

> This is my current config:
>
> #!/bin/sh
>
> machine=test
>
> kernel_loc=nand
> rootfs_loc=nand
>
> rootfs_type=ubifs
>
> kernel=zImage
> rootfs=rootfs
> envimage=environ.bin
>
> autoboot_timeout=3
>
> nfsroot="/tools/rootfs/test"
>
> console="console=ttymxc0,115200"
>
> bootargs=${console}
>
> nand_parts="256k(barebox)ro,768k(bareboxenv),4M(kernel),-(root)"
> kdev="/dev/nand0.kernel.bb"
> rootfs_mtdblock_nand=3
>
>
>
> But i see no NAND in devinfo
>
> - - Christian
>
>
>
> Von:        Eric Bénard <eric@eukrea.com>
> An:        barebox@lists.infradead.org
> Datum:        29.03.2012 14:04
> Betreff:        Re: Create NAND Partition through barebox
> Gesendet von:        barebox-bounces@lists.infradead.org
> ------------------------------
>
>
>
> Hi,
>
> Le Thu, 29 Mar 2012 13:55:43 +0200,
> christian.buettner@rafi.de a écrit :
> > i need to create a NAND Partition through the barebox prompt to be able
> to
> > flash a kernel image on it.
> >
> >.../...
> >
> > I tried using
> > $ nand -a /dev/nand0.*
> >
> > Nothing happens..
> > What is wrong?
> >
> do you have the partition definition in your /env/config file ?
>
> Eric
>
> _______________________________________________
> 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
>
>

[-- Attachment #1.2: Type: text/html, Size: 4059 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

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

* Antwort: Re: Re: Create NAND Partition through barebox
  2012-03-29 12:40     ` Alexander Aring
@ 2012-03-29 12:59       ` christian.buettner
  2012-03-29 13:01         ` Eric Bénard
  0 siblings, 1 reply; 11+ messages in thread
From: christian.buettner @ 2012-03-29 12:59 UTC (permalink / raw)
  To: Alexander Aring; +Cc: barebox


[-- Attachment #1.1: Type: text/plain, Size: 3418 bytes --]

devinfo 
devices:
`---- imx_serial0
     `---- cs0
`---- mem0
     `---- 0x00000000-0x1fffffff: /dev/ram0
`---- mem1
     `---- 0x00000000-0x1fffffff: /dev/ram1
`---- imx_iim0
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank0
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank1
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank2
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank3
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank4
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank5
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank6
     `---- 0x00000000-0x0000001f: /dev/imx_iim_bank7
`---- ramfs0
`---- devfs0
`---- mem2
     `---- 0x00000000-0x00001d47: /dev/defaultenv
`---- mem3
     `---- 0x00000000-0xfffffffe: /dev/mem
`---- cs1
`---- fec_imx0
     `---- miidev0
          `---- 0x00000000-0x0000003f: /dev/phy0
     `---- eth0

drivers:
imx_serial
     ramfs
     devfs
   imx_iim
   fec_imx
    miidev
       mem
barebox:/ adp
Unknown command 'adp' - try 'help'
barebox:/ addpart 
Usage: addpart <device> <part_desc>
Add a partition description to a device.
<device>        device being worked on
<part_desc>     size1[@offset1](name1)[ro],size2[@offset2](name2)[ro],...

barebox:/ addpart /dev/nand0 
256k(barebox)ro,768k(bareboxenv),4M(kernel),-(root)
addpart: No such file or directory
barebox:/ 

I have an addpart tool as you can see but i cannot create a partition. In 
the /dev folder is also no /dev/nand0

- - Christian



Von:    Alexander Aring <alex.aring@googlemail.com>
An:     christian.buettner@rafi.de
Kopie:  Eric Bénard <eric@eukrea.com>, barebox@lists.infradead.org
Datum:  29.03.2012 14:40
Betreff:        Re: Re: Create NAND Partition through barebox




Hi,

is there a /dev/nand0 device?

/env/bin/init call "addpart /dev/nand0 $nand_parts" and create these 
partitions.
Or maybe the command is not available?

Alex

Am 29. März 2012 14:32 schrieb <christian.buettner@rafi.de>:
This is my current config: 

#!/bin/sh 

machine=test 

kernel_loc=nand 
rootfs_loc=nand 

rootfs_type=ubifs 

kernel=zImage 
rootfs=rootfs 
envimage=environ.bin 

autoboot_timeout=3 

nfsroot="/tools/rootfs/test" 

console="console=ttymxc0,115200" 

bootargs=${console} 

nand_parts="256k(barebox)ro,768k(bareboxenv),4M(kernel),-(root)" 
kdev="/dev/nand0.kernel.bb" 
rootfs_mtdblock_nand=3 



But i see no NAND in devinfo 

- - Christian 



Von:        Eric Bénard <eric@eukrea.com> 
An:        barebox@lists.infradead.org 
Datum:        29.03.2012 14:04 
Betreff:        Re: Create NAND Partition through barebox 
Gesendet von:        barebox-bounces@lists.infradead.org 




Hi,

Le Thu, 29 Mar 2012 13:55:43 +0200,
christian.buettner@rafi.de a écrit :
> i need to create a NAND Partition through the barebox prompt to be able 
to 
> flash a kernel image on it.
> 
>.../...
> 
> I tried using
> $ nand -a /dev/nand0.*
> 
> Nothing happens..
> What is wrong?
> 
do you have the partition definition in your /env/config file ?

Eric

_______________________________________________
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



[-- Attachment #1.2: Type: text/html, Size: 10134 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

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

* Re: Create NAND Partition through barebox
  2012-03-29 12:59       ` Antwort: " christian.buettner
@ 2012-03-29 13:01         ` Eric Bénard
  2012-03-29 13:42           ` Franck Jullien
  2012-03-30 12:03           ` Antwort: " christian.buettner
  0 siblings, 2 replies; 11+ messages in thread
From: Eric Bénard @ 2012-03-29 13:01 UTC (permalink / raw)
  To: christian.buettner; +Cc: barebox

Le Thu, 29 Mar 2012 14:59:07 +0200,
christian.buettner@rafi.de a écrit :
> I have an addpart tool as you can see but i cannot create a partition. In 
> the /dev folder is also no /dev/nand0
> 
did you register the nand device ? Is it detected by barebox ?

I think you should check your board support file against a board
suppporting nand (you can for example check our cpuimx51 platform which
is not far from an i.MX53 one).

Eric

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

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

* Re: Create NAND Partition through barebox
  2012-03-29 13:01         ` Eric Bénard
@ 2012-03-29 13:42           ` Franck Jullien
  2012-03-30 12:03           ` Antwort: " christian.buettner
  1 sibling, 0 replies; 11+ messages in thread
From: Franck Jullien @ 2012-03-29 13:42 UTC (permalink / raw)
  To: barebox

2012/3/29 Eric Bénard <eric@eukrea.com>:
> Le Thu, 29 Mar 2012 14:59:07 +0200,
> christian.buettner@rafi.de a écrit :
>> I have an addpart tool as you can see but i cannot create a partition. In
>> the /dev folder is also no /dev/nand0
>>
> did you register the nand device ? Is it detected by barebox ?
>
> I think you should check your board support file against a board
> suppporting nand (you can for example check our cpuimx51 platform which
> is not far from an i.MX53 one).
>
> Eric
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

Hi,

Did you enable the NAND support (in the menuconfig) ?

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

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

* Antwort: Re: Create NAND Partition through barebox
  2012-03-29 13:01         ` Eric Bénard
  2012-03-29 13:42           ` Franck Jullien
@ 2012-03-30 12:03           ` christian.buettner
  1 sibling, 0 replies; 11+ messages in thread
From: christian.buettner @ 2012-03-30 12:03 UTC (permalink / raw)
  To: Eric Bénard; +Cc: barebox


[-- Attachment #1.1: Type: text/plain, Size: 723 bytes --]

This was the problem.
Thank you for the help..

- - Christian



Von:    Eric Bénard <eric@eukrea.com>
An:     christian.buettner@rafi.de
Kopie:  barebox@lists.infradead.org
Datum:  29.03.2012 15:01
Betreff:        Re: Create NAND Partition through barebox



Le Thu, 29 Mar 2012 14:59:07 +0200,
christian.buettner@rafi.de a écrit :
> I have an addpart tool as you can see but i cannot create a partition. 
In 
> the /dev folder is also no /dev/nand0
> 
did you register the nand device ? Is it detected by barebox ?

I think you should check your board support file against a board
suppporting nand (you can for example check our cpuimx51 platform which
is not far from an i.MX53 one).

Eric


[-- Attachment #1.2: Type: text/html, Size: 1581 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

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

end of thread, other threads:[~2012-03-30 12:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-29 11:55 Create NAND Partition through barebox christian.buettner
2012-03-29 12:03 ` Eric Bénard
2012-03-29 12:32   ` Antwort: " christian.buettner
2012-03-29 12:34     ` Eric Bénard
2012-03-29 12:40     ` Alexander Aring
2012-03-29 12:59       ` Antwort: " christian.buettner
2012-03-29 13:01         ` Eric Bénard
2012-03-29 13:42           ` Franck Jullien
2012-03-30 12:03           ` Antwort: " christian.buettner
2012-03-29 12:08 ` Alexander Aring
2012-03-29 12:15   ` Antwort: " christian.buettner

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