本帖最后由 oper 于 2014-3-20 12:21 编辑
@allen 发表于 2014-3-20 10:29
汗,电源没插!
resize2fs /dev/nandc or nandd
不行的话
參考教學沒有寫,擔心接上會有問題..所以沒有接
Unknown command 'resize2fs' -
sun7i#nand-part /dev/nand 'rootfs 0x10000'
Unknown command 'nand-part' - try 'help'
sun7i#nand device
Device 0: <NULL>, sector size 0 KiB
sun7i#nand info
sun7i#sudo fdisk -l
Unknown command 'sudo' - try 'help'
sun7i#resize2fs /dev/nandd
Unknown command 'resize2fs' - try 'help'
sun7i#help
? - alias for 'help'
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
boota - boota - boot android bootimg from memory
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
env - environment handling commands
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
ext4load- load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
false - do nothing, unsuccessfully
fastboot- fastboot- use USB Fastboot protocol
fatdown - download data to a dos filesystem
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
go - start application at address 'addr'
help - print command description/usage
key_test- Test the key value and dump key registers
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mtest - simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
printenv- print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
setenv - set environment variables
showvar - print local hushshell variables
sunxi_flash- sunxi_flash sub-system
test - minimal test like /bin/sh
true - do nothing, successfully
version - print monitor, compiler and linker version
sun7i#version
U-Boot 2011.09-rc1-00000-gf75abad-dirty (Oct 21 2013 - 18:44:22) Allwinner Techn
ology
arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
GNU ld (GNU Binutils for Ubuntu) 2.22
sun7i#
|