# To talk with uuu, uboot need enable fastboot. fastboot need auto run when detect boot from USB. CONFIG_CMD_FASTBOOT=y CONFIG_USB_FUNCTION_FASTBOOT=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_USB_GADGET_MANUFACTURER="FSL" CONFIG_USB_GADGET_VENDOR_NUM=0x0525 CONFIG_USB_GADG...
1.1.1 选择U-BOOT的理由 U-boot:一种开源bootloader, 作用是用来引导操作,以及给开发人员提供测试调试工具。本身算是个精简的Linux系统了,主要是负责硬件的初始化和引导,本身带有一些工具,作为引导程序,常作为嵌入式设备的引导。当真正的系统开始运行的时候U-boot就把管理权限交了出去。 选择U-Boot的理由:...
(); #endif #ifdef CONFIG_FASTBOOT//支持fastboot刷机 if (fastboot_preboot()) run_command("fastboot", 0); #endif /* 下面就是实现uboot启动延时机制bootdelay的代码 */ #if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0) s = getenv ("bootdelay"); /* 从环境变量获取启动延时的秒数 ...
/* 中断初始化 */ initr_enable_interrupts, /* 中断使能 */ /* PPC has a udelay(20) here dating from 2002. Why? */ initr_ethaddr, /* 网络初始化 */ board_late_init, /* 板子后续初始化 */ initr_fastboot_setup, initr_net, /* 网络初始化 */ initr_check_fa...
part - disk partition related commands ping - send ICMP ECHO_REQUEST to network host poweroff - Perform POWEROFF of the device printenv - print environment variables protect - enable or disable FLASH write protection pxe - commands to get and boot from pxe files random - fill memory with rando...
dcache - enable or disable data cache dnw - dnw - initialize USB device and ready to receive for Windows server (specific) echo - echo args to console editenv - edit environment variable emmc - Open/Close eMMC boot Partition env - environment handling commands ...
配置uboot去掉ADC功能:按空格键去掉[ ]的星号linux@ubuntu:$ make menuconfigCommand line interface --->Device access commands --->[ ] adc - Access Analog to Digital Converters info and dataDevice Drivers --->[ ] Enable ADC drivers using Driver Model更新配置文件linux@ubuntu:$ cp .config ...
androidboot.dtbo_idx=1 androidboot.verifiedbootstate=orange earlycon=uart8250,mmio32,0xfeb50000 console=ttyFIQ0 coherent_pool=1m irqchip.gicv3_pseudo_nmi=0 rw root=/dev/mmcblk0p8 rootfstype=ext4 data=/dev/mmcblk0p9 consoleblank=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory ...
();#endif#ifdef CONFIG_FASTBOOT//支持fastboot刷机if (fastboot_preboot())run_command("fastboot", 0);#endif/* 下面就是实现uboot启动延时机制bootdelay的代码 */#if defined(CONFIG_BOOTDELAY) && (CONFIG_BOOTDELAY >= 0)s = getenv ("bootdelay"); /* 从环境变量获取启动延时的秒数 */bootdelay ...
* enable I cache if CONFIG_SYS_ICACHE_OFF is not defined */mrc p15,0,r0,c1,c0,0bic r0,r0,#0x00000300/* clear bits 9:8 (--- --RS) */bic r0,r0,#0x00000087/* clear bits 7, 2:0 (B--- -CAM) */#ifdefCONFIG_SYS_EXCEPTION_VECTORS_HIGHorr r0,r0,#0x00002000/* set bit...