The uboot we used on TQ2440 has a specified machine code of 168, so we need to modify the machine code used in kernel to 168. Otherwise, the kernel won’t be able to boot.
The machine code is saved in “arch/arm/tools/mach-types”, in line near line 379, change the previous 362 to 168 and save.
Why do we need to change line 379. That’s because in kernel “arch/arm/mach-s3c2440/mach-smdk2440.c”, there is a line has ” MACHINE_START(3SC2440,”SMDK2440″), S3C2440 is the keyword, and it’s defined in mach-types.
We provide the source code of u-boot, and you can change the machine code there too.
Leave a Reply
You must be logged in to post a comment.