rv1126 进入uboot之后发现没有i2c工具,需要怎么移植进去
Net: eth0: ethernet@ffc40000Hit key to stop autoboot('CTRL+C'):0
=> i2c
Unknown command 'i2c' - try 'help'
=>
Unknown command 'i2c' - try 'help'
=> help
? - alias for 'help'
android_print_hdr- print android image header
atags - Dump all atags
base - print or set address offset
bdinfo- print Board Info structure
bidram_dump- Dump bidram layout
boot - boot default, i.e., run 'bootcmd'
boot_android- Execute the Android Bootloader flow.
boot_fit- Boot FIT Image from memory or boot/recovery partition
bootavb - Execute the Android avb a/b boot flow.
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootrkp - Boot Linux Image from rockchip image type
bootz - boot Linux zImage image from memory
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
crypto_sum- crypto checksum engine
dhcp - boot image via network using DHCP/TFTP protocol
dm - Driver model low level access
download- enter rockusb/bootrom download mode
dump_irqs- Dump IRQs
dump_resource- dump resource list
echo - echo args to console
editenv - edit environment variable
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 /)
ext4size- determine a file's size
false - do nothing, unsuccessfully
fastboot- use USB or UDP Fastboot protocol
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatsize - determine a file's size
fatwrite- write file into a dos filesystem
fdt - flattened device tree utility commands
fstype- Look up a filesystem type
go - start application at address 'addr'
gpt - GUID Partition Table
help - print command description/usage
iomem - Show iomem data by device compatible(high priority) or node name
lcdputs - print string on video framebuffer
load - load binary file from a filesystem
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
mdio - MDIO utility commands
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mtd - MTD utils
mtd_blk - MTD Block device sub-system
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
part - disk partition related commands
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
pxe - commands to get and boot from pxe files
rbrom - Perform RESET of the CPU
reboot- Perform RESET of the CPU, alias of 'reset'
reset - Perform RESET of the CPU
rkimgtest- Test if storage media have rockchip image
rockchip_show_bmp- load and display bmp from resource partition
rockchip_show_logo- load and display log from resource partition
rockusb - Use the rockusb Protocol
run - run commands in an environment variable
save - save file to a filesystem
setcurs - set cursor position within screen
setenv- set environment variables
sf - SPI flash sub-system
showvar - print local hushshell variables
size - determine a file's size
source- run script from memory
sspi - SPI utility command
sysboot - command to get and boot from syslinux files
sysmem_dump- Dump sysmem layout
sysmem_search- Search a available sysmem region
test - minimal test like /bin/sh
tftp - download image via network using TFTP protocol
tftpbootm- tftpbootm aosp/uImage/FIT image via network using TFTP protocol
tftpflash- flash image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
true - do nothing, successfully
ums - Use the UMS
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
uboot 里面打开 i2c 就可以了。进入到 uboot 目录执行: make ARCH=arm menuconfig。找到 i2c 配置,将其打开。编译烧录就能在uboot看到i2c工具了。 799959745 发表于 2022-11-26 17:59
uboot 里面打开 i2c 就可以了。进入到 uboot 目录执行: make ARCH=arm menuconfig。找到 i2c 配置,将其打 ...
可以了,谢谢大佬的回复
页:
[1]