Modify and compile the kernel
Add or modify ARCH/XX/mach-xx.c files,
Modify the first parameter of machine_start as ID,
Modify the clock s3c24xx_init_clocks (12000000) in static void _ init xx_map_io (void );
Modify the NAND information in static struct mtd_partition smdk_default_nand_part [] modify the partition information, and static struct s3c2410_nand_set smdk_nand_sets. partitions = smdk_default_nand_part, in static struct s3c2410_platform_nand mini6410_nand_info. sets = mini6410_nand_sets, static void _ init
In the mini6410_machine_init (void), set the NAND information, such as initi_nand_set_platdata (& mini6410_nand_info) and static struct platform_device * mini6410_devices [] _ initdata to add the NAND driver
Add ID: ID of start in the kconfig macro mach-xx.c in arch/tools/Mach-types
Add the config node in kconfig.
Add in makefile, obj-$ (config_mach_xx) + = mach-xx.o
Add a yaffs driver patch
Configure the kernel, make menuconfig, add the yaffs driver, and add Eabi Interface Support.
Compile the kernel, make zimage
Build the root file system
Basic directory bin, Lib, etc, Proc, sys, Dev, USR, sbin, TMP, MNT,
Create basic device consol (C 5 1), null (C 1 3)
Compile busybox and make menuconfig
Compile and install bootloader
Create/board/XX directory
Modify machine code include/ASM-arm/mach-types.h
Add xx_config: unconfig to the top-level makefile.
@ $ (Mkconfig) $ (@: _ Config =) arm XX Samsung cloud64xx
Add cobjs: = XX. O flash. O to the Board/XX/makefile.
Modify the clock in CPU/XX/start. s and XX. C.
Modify serial port speed CPU/XX/speed. c