firmware embedded engineer linux kernel enviroment create Bootloader & linux configuration

Job ID: 34784738

Budget: $240 – $2,000 HKD

Our board is flashed linux kerel build and we can read & debug jtag, next steam is to create bootloader firmware file from the kernel enviroment

1st flash: (modified files)
arisc.fex, aultls32.fex, aultools.fex, battery_charge.bmp, battery_charge.bmp.lzma, bempty.bmp, bempty.bmp.lzma,board.fex,
board_config.bin, board_config.fex, boot-resource.fex, boot-resource.ini, boot.fex, boot_package.cfg, boot_package.fex,
boot_package_nor.cfg, bootlogo.bmp, bootlogo.bmp.lzma, cardscript.fex, cardscript_secure.fex, cardtool.fex, config.fex,
diskfs.fex, dlinfo.fex, env.cfg, env.fex, env_burn.cfg, esm.fex, extPart.fex, fes1.fex, image.cfg, image_crashdump.cfg,
kernel.fex

(doesn't include bootloader) - you can only detect jtag now;

Create and install bootloader:

https://github.com/allwinner-zh/bootloader/tree/master/u-boot-2011.09/arch/arm/cpu/armv7/sun8iw7

example respitory how to create bootloader file, which files are required to adjust;

bootloader/u-boot-2014.07/arch/arm/cpu/armv7/sun8iw17p1/
dram/
makefile
-
mmc/
mmc.c
mmc.h
mmc_bsp.c
mmc_bsp.h
mmc_def.h

(mmc.c - has function to erase, partition
mmc->erase_grp_size = 1;
mmc->part_config = MMCPART_NOAVAILABLE;)
-
spl/
makefile
clock_spl.c
ctype.c
debug.c
eabi_compat.c
gic_spl.c
gpio_spl.c
rtc_region.c
serial_spl.c
smc_spl.c
smta_spl.c
ss_spl.c
timer_spl.c
-
usb/
usbc.c
usbc_dev.c
usbc_dma.c
usbc_host.c
usbc_i.h
usbc_phy.c
usbc_resource.c
-
makerfile
-
board.c
#include <boot_type.h>
#include <sys_partition.h>
#include <sys_config.h>
#include <power/sunxi/pmu.h>
#include <smc.h>
#include <sunxi_board.h>
#include <fdt_support.h>
#include <sys_config_old.h>
#include <cputask.h>

sys_config.fex - includes camera and wifi pheripals - we need right ones for camera and how to set it up @hoang vo
-
ccmu.c
-
clock.c
-
cpu_info.c
-
efuse.c
-
gic.c
-
key.c
-
lowlevel_init.S
-
reset.S
-
spare_head.c
-
ss.c
-
timer.c
-
u-boot-spl.ids
-

create bootloader file to flash on jlink via jtag, then bring up the board via linux configuration
source code files along with camera and wifi pheripals to complete the job.
Related categories: C Programming Linux Electronics Microcontroller Debian