-
Makefile
-
lib_arm/
-
board/mini2440/
-
include/configs/mini2440.h
- ##### FriendlyARM BIOS for 2440 #####
- [x] bon part 0 320k 2368k
- [v] Download vivi
- [k] Download linux kernel
- [y] Download root_yaffs image
- [c] Download root_cramfs image
- [a] Absolute User Application
- [n] Download Nboot
- [e] Download Eboot
- [i] Download WinCE NK.nb0
- [w] Download WinCE NK.bin
- [d] Download & Run
- [f] Format the nand flash
- [p] Partition for Linux
- [b] Boot the system
- [s] Set the boot parameters
- [t] Print the TOC struct of wince
- [u] Backup NAND Flash to HOST through USB(upload)
- [r] Restore NAND Flash from HOST through USB
- [q] Goto shell of vivi
- Enter your selection: a
- USB host is connected. Waiting a download.
- Now, Downloading [ADDRESS:30000000h,TOTAL:236670]
- RECEIVED FILE SIZE: 236670 (231KB/S, 1S)
- Downloaded file at 0x30000000, size = 236660 bytes
- Flash params: oobsize = 16, oobblock = 512, erasesize = 16384, partition size = 245760
- Erasing and programming NAND with checking bad blocks
- Block erasing(addr/count) --- Block bad(addr/count) --- Block processed/All(%)
- --------------------------------------------------------------------------------
- 0x00038000/00015 0x00000000/00000 00015/00015=100%
- Erasing and programming OK:
- Blocks scanned: 15, Blocks erased: 15, Blocks are bad: 0
MINI2440 # printenv
bootargs=root=/dev/mtdblock3 rootfstype=jffs2 console=ttySAC0,115200
bootcmd=
bootdelay=3
baudrate=115200
ethaddr=08:08:11:18:12:27
ipaddr=10.0.0.111
serverip=10.0.0.4
netmask=255.255.255.0
usbtty=cdc_acm
mtdparts=mtdparts=mini2440-nand:256k@0(u-boot),128k(env),5m(kernel),-(root)
mini2440=mini2440=0tb
bootargs_base=console=ttySAC0,115200 noinitrd
bootargs_init=init=/sbin/init
root_nand=root=/dev/mtdblock3 rootfstype=jffs2
root_mmc=root=/dev/mmcblk0p2 rootdelay=2
root_nfs=/mnt/nfs
set_root_nfs=setenv root_nfs root=/dev/nfs rw nfsroot=${serverip}:${root_nfs}
ifconfig_static=run setenv ifconfig ip=${ipaddr}:${serverip}::${netmask}:mini2440:eth0
ifconfig_dhcp=run setenv ifconfig ip=dhcp
ifconfig=ip=dhcp
set_bootargs_mmc=setenv bootargs ${bootargs_base} ${bootargs_init} ${mini2440} ${root_mmc}
set_bootargs_nand=setenv bootargs ${bootargs_base} ${bootargs_init} ${mini2440} ${root_nand}
set_bootargs_nfs=run set_root_nfs; setenv bootargs ${bootargs_base} ${bootargs_init} ${mini2440} ${root_nfs} ${ifconfig}
mtdids=nand0=mini2440-nand
partition=nand0,0
mtddevnum=0
mtddevname=u-boot
Environment size: 1089/131068 bytes
MINI2440 # help
? - alias for 'help'
autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
chpart - change active partition
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
date - get/set/reset date & time
dhcp - invoke DHCP client to obtain IP/boot params
dynenv - dynamically placed (NAND) environment
dynpart - dynamically calculate partition table based on BBT
echo - echo args to console
erase - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
flinfo - print FLASH memory information
flinit - Initialize/probe NOR flash memory
fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
help - print online help
icrc32 - checksum calculation
iloop - infinite loop on address range
imd - i2c memory display
iminfo - print header information for application image
imls - list all images found in flash
imm - i2c memory modify (auto-incrementing)
imw - memory write (fill)
imxtract- extract a part of a multi-image
in - read data from an IO port
inm - memory modify (constant address)
iprobe - probe to discover valid I2C chip addresses
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
mm - memory modify (auto-incrementing)
mmcinit - init mmc card
mtdparts- define flash/nand partitions
mtest - simple RAM test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
out - write datum to IO port
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reginfo - print register information
reset - Perform RESET of the CPU
run - run commands in an environment variable
s3c24xx - SoC specific commands
saveenv - save environment variables to persistent storage
saves - save S-Record file over serial line
setenv - set environment variables
sleep - delay execution for some time
tftpboot- boot image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version