Difference between revisions of "U-Boot-2011.12"

From ArmadeusWiki
Jump to: navigation, search
m (Features/Status)
m (Features/Status)
Line 54: Line 54:
 
|'''Board reset''' ||style="background:#ffff00;" | || style="background:#ffff00;" | ||  style="background:#ffff00;" | || style="background:#ffff00;" |  || command "reset" shall reset the board
 
|'''Board reset''' ||style="background:#ffff00;" | || style="background:#ffff00;" | ||  style="background:#ffff00;" | || style="background:#ffff00;" |  || command "reset" shall reset the board
 
|----------------
 
|----------------
|'''TFTP''' || style="background:#ffff00;" | || style="background:#ffff00;" |  || style="background:#ffff00;" |  || style="background:#ffff00;" | ||  the command "run download_uboot" should download UBoot from the host PC to the target RAM
+
|'''TFTP''' || style="background:#ffff00;" | || style="background:#ffff00;" |  || style="background:#ffff00;" |  || style="background:#ffff00;" | ||  the command "run download_uboot" should download UBoot from the host PC into the target RAM
 +
|----------------
 +
|'''NFS''' || style="background:#ffff00;" | || style="background:#ffff00;" | || style="background:#ffff00;" |  || style="background:#ffff00;" | || the command "nfs ${loadaddr} {serverip}:${rootpath}/${board_name}-linux.bin" should download linux kernel from the host PC into the target RAM
 
|----------------
 
|----------------
 
|'''Board upgrade scripts''' ||style="background:#ffff00;" | || style="background:#ffff00;" | ||  style="background:#ffff00;" | || style="background:#ffff00;" |  || use the hereafter scripts to update the software of the board:<br /> run update_all<br />run flash_reset_env
 
|'''Board upgrade scripts''' ||style="background:#ffff00;" | || style="background:#ffff00;" | ||  style="background:#ffff00;" | || style="background:#ffff00;" |  || use the hereafter scripts to update the software of the board:<br /> run update_all<br />run flash_reset_env
Line 68: Line 70:
 
|'''Flash lock/unlock''' || style="background:#ffff00;" | || postponed || style="background:#ffff00;" |  || postponed ||  For APF9328: <br />protect on all<br />erase ${env_addr} +${env_len} -> - Warning: 1 protected sectors will not be erased!<br />protect off all<br />erase ${env_addr} +${env_len} -> no warning - erase done<br /> other apf boards:<br />todo
 
|'''Flash lock/unlock''' || style="background:#ffff00;" | || postponed || style="background:#ffff00;" |  || postponed ||  For APF9328: <br />protect on all<br />erase ${env_addr} +${env_len} -> - Warning: 1 protected sectors will not be erased!<br />protect off all<br />erase ${env_addr} +${env_len} -> no warning - erase done<br /> other apf boards:<br />todo
 
|----------------
 
|----------------
|'''Env compatibility change''' || style="background:#ffff00;" | ||  style="background:#ffff00;" | || style="background:#ffff00;" | ||  style="background:#ffff00;" | ||  
+
|'''Env compatibility change''' || style="background:#ffff00;" | ||  style="background:#ffff00;" | || style="background:#ffff00;" | ||  style="background:#ffff00;" | || force a new environment version and check the warning on next reboot:<br />setenv env_version 0<br />saveenv<br />reset<br />=> *** Warning - Environment version change suggests: run flash_reset_env; reset
|----------------
+
|'''PAR cleared''' || style="background:#ffff00;" | || || style="background:#ffff00;" | ||  || 
+
|----------------
+
|'''Env compatibility change''' || style="background:#ffff00;" | ||  style="background:#ffff00;" | || style="background:#ffff00;" | ||  style="background:#ffff00;" | ||
+
 
|----------------
 
|----------------
 
|'''FPGA control''' || style="background:#ffff00;" | || not supported  || style="background:#ffff00;" |  || style="background:#ffff00;" |  ||   
 
|'''FPGA control''' || style="background:#ffff00;" | || not supported  || style="background:#ffff00;" |  || style="background:#ffff00;" |  ||   
Line 80: Line 78:
 
|'''imxfuse commands''' || NA || style="background:#ffff00;" |  || style="background:#ffff00;" | || style="background:#ffff00;" | ||  
 
|'''imxfuse commands''' || NA || style="background:#ffff00;" |  || style="background:#ffff00;" | || style="background:#ffff00;" | ||  
 
|----------------
 
|----------------
|'''NFS''' || style="background:#ffff00;" | || style="background:#ffff00;" | || style="background:#ffff00;" | || style="background:#ffff00;" | |
+
|'''PAR cleared''' || style="background:#ffff00;" | || || style="background:#ffff00;" | || ||  
 
|----------------
 
|----------------
 
|'''NETCONSOLE''' || style="background:#ffff00;" | || style="background:#ffff00;" | || style="background:#ffff00;" |  || style="background:#ffff00;" |  ||   
 
|'''NETCONSOLE''' || style="background:#ffff00;" | || style="background:#ffff00;" | || style="background:#ffff00;" |  || style="background:#ffff00;" |  ||   

Revision as of 00:03, 6 March 2012

Activation

  • Use "make menuconfig" to change the configuration for U-Boot 2011.12

File:U-Boot-2011.12.png

TODO list

  • MMC driver integration pending

Features/Status

Status Legend Color
Test passed
Compilation or runtime test failed
To be tested
Optional/not activated by default
NA/not supported


Feature Status Test case
boards apf9328 apf28 apf27 apf51
U-Boot power on U-Boot 2011.12...
I2C: ready
DRAM: 16 MiB
Flash: 8 MiB
In: serial
Out: serial
Err: serial
Net: dm9000
U-Boot 2011.12... U-Boot 2011.12... U-Boot 2011.12... power on the board and check the boot log of the board
NOR/NAND flash 8 MiB MiB MiB MiB startup sceen shall display:
Flash: xx MiB
RAM 16 MiB 128MiB-1024MiB MiB MiB startup sceen shall display:
DRAM: 16 MiB
Ethernet driver dm9000 startup sceen shall display:
Net: <DRIVER>
Ethernet MAC dm9000 read
00000000: 1e00 00ac
test the presence of the MAC address in EEPROM/fuses
the command bdinfo should return a valid mac address
Default IP the default IP variables should be:
ipaddr=192.168.0.10
netmask=255.255.255.0
serverip=192.168.0.2
gatewayip=192.168.0.1
use the "flash_reset_env" script to restore the default environment variables
DHCP the command "DHCP" should be able to update IP environment variables according to your network and DHCP server
Ping set ipaddr & serverip according to your network.
Test the connection to the server:
ping ${serverip} should return the status "alive"
Board reset command "reset" shall reset the board
TFTP the command "run download_uboot" should download UBoot from the host PC into the target RAM
NFS the command "nfs ${loadaddr} {serverip}:${rootpath}/${board_name}-linux.bin" should download linux kernel from the host PC into the target RAM
Board upgrade scripts use the hereafter scripts to update the software of the board:
run update_all
run flash_reset_env
I2C 38 76 7F startup sceen shall display:
I2C: ready
the command "i2c probe" should return the list of devices on the i2c bus of the board
linux boot from flash the command "boot" should start linux and rootfs from flash
the linux login should be "armadeus login: "
NFS boot (rootfs) http://www.armadeus.com/wiki/index.php?title=Nfs#Boot_from_NFS
the command "run nfsboot" should start linux using rootfs over a NFS shared drive on your host server ${serverip}
rootfs on SD/MMC http://www.armadeus.com/wiki/index.php?title=MultiMediaCard#Booting_from_MMC.2FSD
the command "run mmcboot" should start linux using a rootfs on your sd/mmc memory card
Flash lock/unlock postponed postponed For APF9328:
protect on all
erase ${env_addr} +${env_len} -> - Warning: 1 protected sectors will not be erased!
protect off all
erase ${env_addr} +${env_len} -> no warning - erase done
other apf boards:
todo
Env compatibility change force a new environment version and check the warning on next reboot:
setenv env_version 0
saveenv
reset
=> *** Warning - Environment version change suggests: run flash_reset_env; reset
FPGA control not supported
Firmware autoload not supported
imxfuse commands NA
PAR cleared
NETCONSOLE
LCD not supported not supported not supported not supported
SPI not supported not supported not supported not supported
USB not supported not supported not supported not supported