由于SPI flash 的地址是24bit,也就是最大16M 地址空间,所以对于32M flash,需要增加bank切换支持。 uboot中有CONFIG_SPI_FLASH_BAR选项可以使能bank切换。 但是sunxi-fel中尚未支持,所以下载的时候超出16M会循环覆盖掉。 这里介绍对sunxi-fel增加16M以上flash支持的方法。 一、u-boot的
1.烧录固件:使用sunxi-fel可以将固件(例如U-Boot或操作系统)烧录到全志芯片中。首先需要连接全志芯片到电脑,并确保电脑上已经安装了sunxi-fel工具。然后通过命令行输入相应的命令来执行烧录操作。例如,使用下面的命令来烧录U-Boot: ``` sunxi-fel -p uboot u-boot.bin ``` 这将把u-boot.bin固件烧录到全志芯...
sunxi-fel使用uboot命令下载u-boot-sunxi-with-spl.bin之后可以直接运行u-boot, 如果需要配置uboot工作在其他模式, 比如ums或者fastboot等, 需要手动在u-boot的控制台上输入指令, 麻烦的很, 不利于自动化运行. 下面介绍一个简单的方法. $ cat fastboot.env #=uEnv bootdelay=0 bootcmd=fastboot usb 0 $ sudo...
一个用于ARM本地启动代码,用来强制进入FEL模式,可以直接启动到FEL模式而无需按任何按钮。 9、jtag-loop jtag模式 10、sunxi-bootinfo 从Allwinner 设备中拉取启动文件(boot0/boot1) 11、meminfo 这是一个设备端工具,可以读取寄存器信息并且打印所有需要添加到uboot的设备支持。这个工具要求静态编译,以便也可用于Andro...
积分: 903 个人网站 Re: 荔枝派nano f1c100s 使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi...
u32 spl_boot_device(void) { #ifdef CONFIG_SPL_FEL /* * Have we been asked to return to the FEL portion of the boot ROM? * TODO: We need a more robust test here, or bracket this with * #ifdef CONFIG_SPL_FEL. * This is the legacy compile time configuration for a special FEL ...
script_uboot.h fexc: add uboot output 13年前 soc_info.c fel: Enable the SMC workaround for H3/H5/A64/H64 8年前 soc_info.h fel: SMC workaround to enter "secure boot" FEL mode on some SoCs 8年前 uart0-helloworld-sdboot.c uart0-helloworld: Refactor SID fix 8年...
script_uboot.c common.h: Rename errf() to pr_error(), add pr_fatal() 9年前 script_uboot.h fexc: addubootoutput 13年前 soc_info.c fel: Enable the SMC workaround for H3/H5/A64/H64 8年前 soc_info.h fel: SMC workaround to enter "secure boot" FEL mode on some SoCs ...
static uint32_t uboot_entry = 0; /* entry point (address) of U-Boot */ static uint32_t uboot_size = 0; /* size of U-Boot binary *//* printf-style output, but only if "verbose" flag is active */ #define pr_info(...) \ ...
>>> sunxi-fel -v uboot u-boot-sunxi-with-spl.bin >>> Stack pointers: sp_irq=0x00021400, sp=0x00053FFC >>> MMU is not enabled by BROM >>> => Executing the SPL... done. >>> usb_bulk_send() ERROR -7: Operation timed out ...