ATMEL - AT91SAM9260-EK
Useful Links and Tips - Various Boot Setup

 

 

Useful Links

AT91SAM9260-EK

AT91SAM9260-EK

Linux4SAM

GettingStarted

AT91 SAM Portal

SAM9260

 

U-BOOT from Flash / Kernel Network Boot / NFS Root FileSystem

This method describes how to boot Linux from the Network and have the root filesystem mounted through NFS:

·        The script build-linux-2.6.23.sh should have build the kernel image as /tftpboot/ AT91SAM9260/uImage

·        Customize the root filesystem build script build-rootfs.sh

·        Then run it, that will generate the root filesystem (let’s say here: /cross-stuff/armle/AT91SAM9260/rootfs/)

·        Power the ATSAM9260-EK board and be sure that you a terminal program running (such as minicom).

·        Customize the u-boot environment variables to have this (of course adjust to your network):

baudrate=115200                                                                                                                                         

ethaddr=00:01:AF:52:02:59                                                                                                                                

hostname=atmel                                                                                                                                          

bootfile=AT91SAM9260/uImage                                                                                                                              

bootargs=root=/dev/nfs rw nfsroot=192.168.0.2:/cross-stuff/armle/AT91SAM9260/rootfs ip=192.168.0.60:192.168.0.2:192.168.0.2:255.255.255.0:atmel::off    

boot_addr=0x21400000                                                                                                                                    

nfs_linux=tftp $(boot_addr) AT91SAM9260/uImage                                                                                                           

filesize=138F1C                                                                                                                                         

fileaddr=21400000                                                                                                                                        

netmask=255.255.255.0                                                                                                                                    

ipaddr=192.168.0.60                                                                                                                                     

serverip=192.168.0.2                                                                                                                                     

bootcmd=run nfs_linux ; bootm                                                                                                                           

bootdelay=3                                                                                                                                              

stdin=serial                                                                                                                                             

stdout=serial                                                                                                                                           

stderr=serial                                                                                                                                            

·        Reboot your board. If all goes well, u-boot should load the kernel, which should mount the root filesystem over NFS.

 

 

 

[Contents]