./flash_erase /dev/mtd/mtd4 0 0
./ubiattach /dev/ubi_ctrl -m 4
./ubidetach /dev/ubi_ctrl -m 4
./ubimkvol /dev/ubi0 -s 240MiB -N rootfs
mount -t ubifs ubi0:rootfs /mnt/ubi
busybox tar jxvf /part-3/rootfs_am35x.tar.bz2 -C /mnt/ubi
./nanddump /dev/mtd/mtd4 -c -f ./ufi_mtd4_error -l 0x200000
x-loader
make CROSS_COMPILE=arm-eabi- distclean
make CROSS_COMPILE=arm-eabi- am3517evm_config
make CROSS_COMPILE=arm-eabi-
fastboot
sudo ./fastboot flash xloader ~/samba_share/ti_image/MLO
sudo ./fastboot flash bootloader ~/samba_share/ti_image/u-boot.bin
sudo ./fastboot flash boot ~/work/TI_3517/android_2.2/svn/kernel/kernel_20110128/arch/arm/boot/uImage
init=/init console=ttyS2,115200n8 noinitrd ip=off androidboot.console=ttyS2 rootwait mem=256M omap_vout.vid1_static_vrfb_alloc=y rw ubi.mtd=4 rootfstype=ubifs root=ubi0:rootfs bootdelay=2
echo "aa bb cc dd" | awk '{str=$0;split(str,array," ");for(one in array) print array[one];}'
阅读(926) | 评论(0) | 转发(0) |