
home/firmware/Documents/DE1_SoC_demo_ds5/software/spl_bsp/uboot-socfpga/arch/arm/cpu/armv7/socfpga/s_init.c:92: undefined reference to `_ecc_padding_start' home/firmware/Documents/DE1_SoC_demo_ds5/software/spl_bsp/uboot-socfpga/arch/arm/cpu/armv7/socfpga/s_init.c:73: undefined reference to `memset' home/firmware/Documents/DE1_SoC_demo_ds5/software/spl_bsp/uboot-socfpga/arch/arm/cpu/armv7/socfpga/sdram.c:377: undefined reference to `_sdram_stack_start'Īrch/arm/cpu/armv7/socfpga/libsocfpga.o: In function `s_init': home/firmware/Documents/DE1_SoC_demo_ds5/software/spl_bsp/uboot-socfpga/arch/arm/cpu/armv7/socfpga/sdram.c:377: undefined reference to `_stack_start' TFTP from server 192.168.0.125 our IP address is 192.168.0.When trying to build u-boot/make the preloader, I get the following message: arm-altera-eabi-ld: SPL image too big make CROSS_COMPILE=arm-altera-eabi-C uboot-socfpga spl/u-boot-spl.binĬd /home/firmware/Documents/DE1_SoC_demo_ds5/software/spl_bsp/uboot-socfpga/spl/ & arm-altera-eabi-ld -T /home/firmware/Documents/DE1_SoC_demo_ds5/software/spl_bsp/uboot-socfpga/spl/u-boot-spl.lds -gc-sections -Bstatic arch/arm/cpu/armv7/start.o -start-group arch/arm/cpu/armv7/libarmv7.o arch/arm/cpu/armv7/socfpga/libsocfpga.o arch/arm/lib/libarm.o board/altera/socfpga/libsocfpga.o board/altera/socfpga/sdram/libsocfpga-sdram.o -end-group /home/firmware/Documents/DE1_SoC_demo_ds5/software/spl_bsp/uboot-socfpga/spl/arch/arm/lib/eabi_compat.o -L /opt/intelFPGA/18.0/embedded/host_tools/mentor/gnu/arm/baremetal/bin/./lib/gcc/arm-altera-eabi/6.2.0 -lgcc -Map u-boot-spl.map -o u-boot-splĪrch/arm/cpu/armv7/socfpga/libsocfpga.o: In function `sdram_mmr_init_full': => setenv rootpath /home/dvdk/axel/rfs/axel/ => setenv bootfile axel/xelk-3.0.8_uImage configure u-boot vars for booting from NFS.execute nandwrite to flash uboot image on NAND.execute kobs-ng passing the parameters for flashing the SPL on NAND.copy the related u-boot ans SPL files on nfs /home/root (for example).uses a rfs with kobs-ng utility available on it (e.g.The following steps are therefore necessary: For this reason, the mtdparts variable has to be modified for writing the complete u-boot image.

for programming the second stage, the nandwrite command has to identify a proper mtd part witch correct size. This tool is required for writing correct information needed by bootrom to identify the NAND as a boot device. The SPL and u-boot image, must be flashed on NAND using the NXP kobs-ng utility. Hit ENTER within 1 seconds to stop autobootĪs you can see, respect to the NOR SPI, the u-boot binaries for the SD card uses the environment on SD (labelled MMC on u-boot code): WARNING: CB ConfigID on block 0 is UNLOCKEDĭisplay: LDB-AM-800480STMQW-TA1-SBCX-REVB (800x480)īad partition index:2 for partition:recoveryīad partition index:5 for partition:system Relocating to 8ff30000, new gd at 8df2feb8, sp at 8df2fe90 Insert the DIP header on the pin selecting the BOOT_MODE_SEL from SD card and reset the board: MMC write: dev # 0, block # 138, count 981. 119 blocks written: OKįilename 'axel/xelk-3.5.0_m圆qdlaxel_u-boot.img'. MMC write: dev # 0, block # 2, count 119. from the running tftp server on the XELK 3 VM): load and program the SPL binaries (i.e.

#U boot spl update#
NOR SPI and SD).Īnd the related update commands are (for example for the SD card storage device): In order to program the uboot SPL binaries ( SPL and u-boot.img) some new environment variables are useful for loading the binaries from a tftp server and store them on the storage boot device (i.e. Here below, you can find a step-by-step user's guide for updating u-boot to the new SPL version. It is then required to update the u-boot on AXEL LITE SoM using some new u-boot environment variables: those vars will be present and ready to be used on the new SPL default environment. Starting from XELK 3.5.0 binary version, u-boot supports the SPL first-stage bootloader and second-stage bootloader (the proper u-boot complete binary).
