在uboot中查看uboot信息

在uboot中查看uboot信息

[fulinux@s3c2440]# bdinfo

arch_number = 0x000007CF
env_t       = 0x00000000
boot_params = 0x30000100
DRAM bank   = 0x00000000
-> start    = 0x30000000
-> size     = 0x04000000
ethaddr     = 08:00:3e:26:0a:11
ip_addr     = 192.168.1.111
baudrate    = 115200 bps

[fulinux@s3c2440]# 



bootargs=console=ttyS0,115200 mem=64M initrd=0x30800000,16M root=/dev/ram0 rw loglevel=7
bootcmd=run bootcmd_jffs2
cpu=s3c2440
bbl=nand erase 0 100000;tftp 30008000 u-boot-$cpu.bin;nand write 30008000 0 $filesize
norbbl=erase bank 1;tftp 30008000 u-boot-$cpu.bin;cp.b 30008000 0 $filesize
brdfs=tftp 30800000 ramdisk-$cpu.gz;nand erase 500000 a00000;nand write 30800000 500000 $filesize
bubifs=tftp 30800000 ubifs-$cpu.img;nand erase 0x02e00000 0x01400000;nand write 0x30800000 0x2e00000 0x4c0000
bootcmd_ramdisk=nand read 30008000 100000 400000;nand read 30800000 500000 a00000;bootm 30008000
bootcmd_rootfs=nand read 30008000 100000 400000;bootm 30008000
tpb=tftp 30008000 uImage-$cpu.gz;tftp 30800000 ramdisk-$cpu.gz;bootm 30008000 
bootargs_ramdisk=console=ttyS0,115200 mem=64M initrd=0x30800000,16M root=/dev/ram0 rw loglevel=7
bootargs_ubifs=console=ttyS0,115200 mem=64M ubi.mtd=5 root=ubi0:rootfs rootwait rootfstype=ubifs rw
mtdids=nand0=nand0
mtdparts=mtdparts=nand0:1M@0x0(u-boot),5M@0x100000(kernel),10M@0x600000(ramdisk),10M@0x1000000(cramfs),20M@0x1a00000(yaffs2),20M@0x2e00000(ubifs),-(users)
bootdelay=1
baudrate=115200
ethaddr=08:00:3e:26:0a:11
ethact=dm9000
bkr=tftp 30008000 linuxrom-fulinux.bin;nand erase 100000 a00000;nand write 30008000 100000 a00000
bjffs2=tftp 30008000 rootfs.jffs2;nand erase b00000 1400000;nand write 30008000 b00000 1400000
bootargs_jffs2=noinitrd root=/dev/mtdblock2 rootfstype=jffs2 init=/linuxrc console=ttyS0,115200
stdin=serial
stdout=serial
stderr=serial
filesize=1400000
fileaddr=30008000
netmask=255.255.255.0
ipaddr=192.168.1.111
serverip=192.168.1.79


*********************************************************************************************************************

autohotkey

*********************************************************************************************************************

!1::
send  tftp 30008000 u-boot-fulinux.bin;nand erase 0 50000;nand write 30008000 0 50000{enter}
return




!2::
send tftp 30008000 linuxrom-fulinux.bin;nand erase 100000 a00000;nand write 30008000 100000 a00000
send {enter}
return




!3::
send tftp 30008000 rootfs.jffs2;nand erase b00000 1400000;nand write.jffs2 30008000 b00000 1400000
send {enter}
return



你可能感兴趣的:(bootloader)