Linux Build Kernel Image file & Github Collaboration: -- 2

Job ID: 34495801

Budget: $240 – $2,000 HKD

Tasks outlined below:

1. we will provide source code and you extract on .tgz file
2. have parallel tools installed program
3. Install openjdk-8-jdk
-
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk

export LC_ALL=C
# Modify security configuration, delete TLSv1, TLSv1.1
sudo vim /etc/java-8-openjdk/security/java.security
-

4. Install and compile dependencies

#Solve the problem of kImage generating zImage, or directly set lichee/brandy/u-boot-2014.07/tools to the environment variable PATH
sudo apt-get install -y u-boot-tools

sudo apt install bc

sudo apt-get install lib32z1
-

5. modify & compile uboot, adjust sys config, update csi camera & wifi
-
uboot201407/tools/buildman/board.py/board
class Board:
"""A particular board that we can build"""
def __init__(self, status, arch, cpu, soc, vendor, board_name, target, options):
"""Create a new board type.

Args:
status: define whether the board is 'Active' or 'Orphaned'
arch: Architecture name (e.g. arm)
cpu: Cpu name (e.g. arm1136)
soc: Name of SOC, or '' if none (e.g. mx31)
vendor: Name of vendor (e.g. armltd)
board_name: Name of board (e.g. integrator)
target: Target name (use make <target>_config to configure)
options: board-specific options (e.g. integratorcp:CM1136)
"""
self.target = target
self.arch = arch
self.cpu = cpu
self.board_name = board_name
self.vendor = vendor
self.soc = soc
self.props = [self.target, self.arch, self.cpu, self.board_name,
self.vendor, self.soc]
self.options = options
self.build_it = False



MMC Support:
The MMC controller on the Intel PXA is supported. To
enable this define CONFIG_MMC. The MMC can be
accessed from the boot prompt by mapping the device
to physical memory similar to flash. Command line is
enabled with CONFIG_CMD_MMC. The MMC driver also works with
the FAT fs. This is enabled with CONFIG_CMD_FAT.

CONFIG_SH_MMCIF
Support for Renesas on-chip MMCIF controller

CONFIG_SH_MMCIF_ADDR
Define the base address of MMCIF registers

CONFIG_SH_MMCIF_CLK
Define the clock frequency for MMCIF

CONFIG_GENERIC_MMC
Enable the generic MMC driver

CONFIG_SUPPORT_EMMC_BOOT
Enable some additional features of the eMMC boot partitions.

CONFIG_SUPPORT_EMMC_RPMB
Enable the commands for reading, writing and programming the
key for the Replay Protection Memory Block partition in eMMC.


cd $CURRENT_PATH/lichee/brandy/
source build.sh -p sun8iw17p1

-
A. We will provide update sys config settings fex file

B. linux-3.10/drivers/media/platform/sunxi-vin/vin-mipi *photo & parameter settings*
IMX 35 func. https://github.com/SoCXin/H6/tree/master/linux/kernel/arch/arm/boot/dts

C. wifi
Put the linux4.9 driver provided by Quanzhi to the directory lichee\linux-4.9\drivers\net\wireless\xr829 and modify
lichee\linux-4.9\drivers\net\wireless\Makefile
lichee\linux-4.9\drivers\net\wireless\Kconfig
These two files, pay attention to the compatibility with the public version of the XR819 module, as follows:
-


-

7. Compile the kernel

First configure .buildconfig

cd lichee
./build.sh config

Welcome to mkscript setup progress

source build.sh

8. product img file and upload code on github


Requirements:
You need to be expert in Linux
know coding and put together kernels for pcb boards before