|
Posted at 11/14/2017 03:09:42
Only Author
3#
I got linux-kernel code compiled and got kernel.img and resource.img on ubuntu 16.04 host mahine. Looking at flash image instruction,
The root file system can reside on different partitions in different storage devices (eMMC, TF card or USB disk, etc). It must be specified in the kernel's command line. There is a CMDLINE in the paramter file:
CMDLINE:console=ttyFIQ0 ... mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),...,-@0x00394000(user)
Add one of below according to your need: (# and contents after are comments, no need to enter):
root=/dev/block/mtd/by-name/linuxroot # flash partition named "linuxroot"
root=/dev/mmcblk0p1 # First partition of TF card
root=/dev/sda1 # First partition of USB disk
root=LABEL=linuxroot # Partition whose label is "linuxroot"
Flash to Device
Please reference Flash image, choose the newly created boot.img and modified parameter files, flash to "boot" and "parameter" partitions respectively. Then the kernel update is done.
If the root filesystem image is not flashed yet, you can download the prebuilt image, or customize your own one, and flash it to the partition specified in parameter file.
I don't see any parameter.txt file generated after building kernel. I'm using TF card only for now. And there is no boot.img/recovery.img/misc.img/bootloader.bin. How to run it?
There is another tool called AndroidTool. Is it for Android only?
thanks,
Steve |
|