EmbeddedRelated.com
Forums

Linux on dataflash using Olimex sam9L9260 board.

Started by "Paulo Silva(OpenSoftware)" September 13, 2008
Hi all,

I am trying to load linux from dataflash and having some problem.

I put bootstrap at address 0x0
U-Boot at address 0x8400.

U-Boot was compiled for dataflash, but when I power-up the board I get
the follow messages:

*U-Boot 1.2.0 (Sep 13 2008 - 17:32:34)

U-Boot code: 23F00000 -> 23F28E6C BSS: -> 23F87D14
DRAM: 64 MB
NAND: No NAND device found!!!
No NAND device found!!!
0 MiB
DataFlash:AT45DB161
Nb pages: 4096
Page Size: 528
Size= 2162688 bytes
Logical address: 0xC0000000
Area 0: C0000000 to C0000000 Data
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
KS8721 PHY Detected
End of Autonegotiation
### main_loop entered: bootdelay=3

### main_loop: bootcmd=""
U-Boot>*

I know that commands is missing, but I search information about where
and how to put this information.

Please may somebody point me a tutorial, internet link or anyelse
information about that?

Best regards

Paulo

Paulo,
Looks like you have not configured the u-boot so that the u-boot
environment is placed in dataflash.You have to configure u-boot so
that u-boot the u-boot environment variables are also stored in
dataflash along with u-boot.

Paulo please can you send me the bootstrap and u-boot binary you are
using so that I can use them.please i need them urgently.

Regards
T.V.R.Prasad
--- In A..., "Paulo Silva(OpenSoftware)"
wrote:
>
> Hi all,
>
> I am trying to load linux from dataflash and having some problem.
>
> I put bootstrap at address 0x0
> U-Boot at address 0x8400.
>
> U-Boot was compiled for dataflash, but when I power-up the board I get
> the follow messages:
>
> *U-Boot 1.2.0 (Sep 13 2008 - 17:32:34)
>
> U-Boot code: 23F00000 -> 23F28E6C BSS: -> 23F87D14
> DRAM: 64 MB
> NAND: No NAND device found!!!
> No NAND device found!!!
> 0 MiB
> DataFlash:AT45DB161
> Nb pages: 4096
> Page Size: 528
> Size= 2162688 bytes
> Logical address: 0xC0000000
> Area 0: C0000000 to C0000000 Data
> *** Warning - bad CRC, using default environment
>
> In: serial
> Out: serial
> Err: serial
> KS8721 PHY Detected
> End of Autonegotiation
> ### main_loop entered: bootdelay=3
>
> ### main_loop: bootcmd=""
> U-Boot>*
>
> I know that commands is missing, but I search information about where
> and how to put this information.
>
> Please may somebody point me a tutorial, internet link or anyelse
> information about that?
>
> Best regards
>
> Paulo
>

Hi Vishnu,

I atached the file for you, if it work for you please, let me know.
I am having problem after kernel ends your job and try to execute
/sbin/init in filesystem.
My system hangs after message Freeing init memory: 108K.

My system is all into dataflash, I am using 8MBytes dataflash:
Bootstrap.............addr: 0x000
Environment...........addr: 0x4200
U-Boot................addr: 0x8400
Kernel................addr: 0x42000
Root file system......addr: 0x252000
Regards

Paulo
vishnu_tadepalli escreveu:
>
> Paulo,
> Looks like you have not configured the u-boot so that the u-boot
> environment is placed in dataflash.You have to configure u-boot so
> that u-boot the u-boot environment variables are also stored in
> dataflash along with u-boot.
>
> Paulo please can you send me the bootstrap and u-boot binary you are
> using so that I can use them.please i need them urgently.
>
> Regards
> T.V.R.Prasad
> --- In A... ,
> "Paulo Silva(OpenSoftware)"
> wrote:
> >
> > Hi all,
> >
> > I am trying to load linux from dataflash and having some problem.
> >
> > I put bootstrap at address 0x0
> > U-Boot at address 0x8400.
> >
> > U-Boot was compiled for dataflash, but when I power-up the board I get
> > the follow messages:
> >
> > *U-Boot 1.2.0 (Sep 13 2008 - 17:32:34)
> >
> > U-Boot code: 23F00000 -> 23F28E6C BSS: -> 23F87D14
> > DRAM: 64 MB
> > NAND: No NAND device found!!!
> > No NAND device found!!!
> > 0 MiB
> > DataFlash:AT45DB161
> > Nb pages: 4096
> > Page Size: 528
> > Size= 2162688 bytes
> > Logical address: 0xC0000000
> > Area 0: C0000000 to C0000000 Data
> > *** Warning - bad CRC, using default environment
> >
> > In: serial
> > Out: serial
> > Err: serial
> > KS8721 PHY Detected
> > End of Autonegotiation
> > ### main_loop entered: bootdelay=3
> >
> > ### main_loop: bootcmd=""
> > U-Boot>*
> >
> > I know that commands is missing, but I search information about where
> > and how to put this information.
> >
> > Please may somebody point me a tutorial, internet link or anyelse
> > information about that?
> >
> > Best regards
> >
> > Paulo
> >
Hai Paulo,

Please mail the compiled bootstrap and u-boot binaries to my yahoo id
v...@yahoo.co.in. I need them urgently.Please also tell me
how to use samba to fuse the bootstarp and u-boot into dataflash.

Regards
T.V.R.Prasad
--- In A..., "Paulo Silva(OpenSoftware)"
wrote:
>
> Hi Vishnu,
>
> I atached the file for you, if it work for you please, let me know.
> I am having problem after kernel ends your job and try to execute
> /sbin/init in filesystem.
> My system hangs after message Freeing init memory: 108K.
>
> My system is all into dataflash, I am using 8MBytes dataflash:
> Bootstrap.............addr: 0x000
> Environment...........addr: 0x4200
> U-Boot................addr: 0x8400
> Kernel................addr: 0x42000
> Root file system......addr: 0x252000
> Regards
>
> Paulo
> vishnu_tadepalli escreveu:
> >
> > Paulo,
> > Looks like you have not configured the u-boot so that the u-boot
> > environment is placed in dataflash.You have to configure u-boot so
> > that u-boot the u-boot environment variables are also stored in
> > dataflash along with u-boot.
> >
> > Paulo please can you send me the bootstrap and u-boot binary you are
> > using so that I can use them.please i need them urgently.
> >
> > Regards
> > T.V.R.Prasad
> > --- In A... ,
> > "Paulo Silva(OpenSoftware)"
> > wrote:
> > >
> > > Hi all,
> > >
> > > I am trying to load linux from dataflash and having some problem.
> > >
> > > I put bootstrap at address 0x0
> > > U-Boot at address 0x8400.
> > >
> > > U-Boot was compiled for dataflash, but when I power-up the board
I get
> > > the follow messages:
> > >
> > > *U-Boot 1.2.0 (Sep 13 2008 - 17:32:34)
> > >
> > > U-Boot code: 23F00000 -> 23F28E6C BSS: -> 23F87D14
> > > DRAM: 64 MB
> > > NAND: No NAND device found!!!
> > > No NAND device found!!!
> > > 0 MiB
> > > DataFlash:AT45DB161
> > > Nb pages: 4096
> > > Page Size: 528
> > > Size= 2162688 bytes
> > > Logical address: 0xC0000000
> > > Area 0: C0000000 to C0000000 Data
> > > *** Warning - bad CRC, using default environment
> > >
> > > In: serial
> > > Out: serial
> > > Err: serial
> > > KS8721 PHY Detected
> > > End of Autonegotiation
> > > ### main_loop entered: bootdelay=3
> > >
> > > ### main_loop: bootcmd=""
> > > U-Boot>*
> > >
> > > I know that commands is missing, but I search information about
where
> > > and how to put this information.
> > >
> > > Please may somebody point me a tutorial, internet link or anyelse
> > > information about that?
> > >
> > > Best regards
> > >
> > > Paulo
> > >
> >
>
Hi Vishnu,

I get the system running, so I want to know if you had a problem with
filesystem, do you?
Did you use initrd?

Regards

Paulo
vishnu_tadepalli escreveu:
>
> Hai Paulo,
>
> Please mail the compiled bootstrap and u-boot binaries to my yahoo id
> v...@yahoo.co.in .
> I need them urgently.Please also tell me
> how to use samba to fuse the bootstarp and u-boot into dataflash.
>
> Regards
> T.V.R.Prasad
> --- In A... ,
> "Paulo Silva(OpenSoftware)"
> wrote:
> >
> > Hi Vishnu,
> >
> > I atached the file for you, if it work for you please, let me know.
> > I am having problem after kernel ends your job and try to execute
> > /sbin/init in filesystem.
> > My system hangs after message Freeing init memory: 108K.
> >
> > My system is all into dataflash, I am using 8MBytes dataflash:
> > Bootstrap.............addr: 0x000
> > Environment...........addr: 0x4200
> > U-Boot................addr: 0x8400
> > Kernel................addr: 0x42000
> > Root file system......addr: 0x252000
> >
> >
> > Regards
> >
> > Paulo
> >
> >
> > vishnu_tadepalli escreveu:
> > >
> > > Paulo,
> > > Looks like you have not configured the u-boot so that the u-boot
> > > environment is placed in dataflash.You have to configure u-boot so
> > > that u-boot the u-boot environment variables are also stored in
> > > dataflash along with u-boot.
> > >
> > > Paulo please can you send me the bootstrap and u-boot binary you are
> > > using so that I can use them.please i need them urgently.
> > >
> > > Regards
> > > T.V.R.Prasad
> > > --- In A...
> ,
> > > "Paulo Silva(OpenSoftware)"
> > > wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I am trying to load linux from dataflash and having some problem.
> > > >
> > > > I put bootstrap at address 0x0
> > > > U-Boot at address 0x8400.
> > > >
> > > > U-Boot was compiled for dataflash, but when I power-up the board
> I get
> > > > the follow messages:
> > > >
> > > > *U-Boot 1.2.0 (Sep 13 2008 - 17:32:34)
> > > >
> > > > U-Boot code: 23F00000 -> 23F28E6C BSS: -> 23F87D14
> > > > DRAM: 64 MB
> > > > NAND: No NAND device found!!!
> > > > No NAND device found!!!
> > > > 0 MiB
> > > > DataFlash:AT45DB161
> > > > Nb pages: 4096
> > > > Page Size: 528
> > > > Size= 2162688 bytes
> > > > Logical address: 0xC0000000
> > > > Area 0: C0000000 to C0000000 Data
> > > > *** Warning - bad CRC, using default environment
> > > >
> > > > In: serial
> > > > Out: serial
> > > > Err: serial
> > > > KS8721 PHY Detected
> > > > End of Autonegotiation
> > > > ### main_loop entered: bootdelay=3
> > > >
> > > > ### main_loop: bootcmd=""
> > > > U-Boot>*
> > > >
> > > > I know that commands is missing, but I search information about
> where
> > > > and how to put this information.
> > > >
> > > > Please may somebody point me a tutorial, internet link or anyelse
> > > > information about that?
> > > >
> > > > Best regards
> > > >
> > > > Paulo
> > > >
> > >
> > >
> >