我能用更多的arm命令轻松编译u-boot吗
我已经从versatilebp板(arm)的u-boot-2013.01.y分支编译了u-boot,我需要在此配置中不存在的fatload命令。 我在qemu下运行u-boot我能用更多的arm命令轻松编译u-boot吗,arm,freebsd,qemu,u-boot,Arm,Freebsd,Qemu,U Boot,我已经从versatilebp板(arm)的u-boot-2013.01.y分支编译了u-boot,我需要在此配置中不存在的fatload命令。 我在qemu下运行u-boot DRAM: 128 MiB WARNING: Caches not enabled Using default environment In: serial Out: serial Err: serial Net: SMC91111-0 Warning: SMC91111-0 using MAC a
DRAM: 128 MiB
WARNING: Caches not enabled
Using default environment
In: serial
Out: serial
Err: serial
Net: SMC91111-0
Warning: SMC91111-0 using MAC address from net device
VersatilePB # fat
Unknown command 'fat' - try 'help'
VersatilePB # help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
env - environment handling commands
erase - erase FLASH memory
flinfo - print FLASH memory information
go - start application at address 'addr'
help - print command description/usage
iminfo - print header information for application image
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
setenv - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor, compiler and linker version
VersatilePB #
我需要fatload来加载包含freebsd内核的fat文件系统映像的文件。我可以用fatload命令将该板的编译配置更改为编译u-boot吗?或者它只是不可能/不受该板的支持?对于一个多功能AB来说,这或多或少是完全可能的。最简单的方法是找到该电路板的命令集的定义位置,然后输入所需的命令。在这种情况下,那个地方就是 查看我2015.07的结帐记录,我似乎添加了以下几行内容(我想当时我是在试图说服MMC工作):
#define CONFIG_CMD_FAT
#define CONFIG_DOS_PARTITION 1
伟大的非常感谢你!你成功地将MMC带到工作中了吗?例如,有人告诉我,全能pb不支持MMC。这是在一个真正的板上——我不知道QEMU,但如果没有在那里进行模拟,我也不会太惊讶。是的,无论哪种方式,U-boot的多功能配置都不支持它-我从其他板上入侵了PL180驱动程序(我想我被卡在了detect GPIO上,回到了实际工作中)。