当前位置:网站首页>Exynos4412 system migration summary

Exynos4412 system migration summary

2021-11-25 18:05:19 MuggleZero

After three days of pit filling , Finally in the Exynos4412 It's been transplanted successfully Uboot2015+Linux4.1.36+Rootfs.
The specific transplantation process is described in the previous article stay Exynos4412 Upper use SD Card burning Linux Has been repeated . This paper is used to record the experience summary .

Question 1 : The kernel address set is incorrect ,uboot Unable to start kernel

terms of settlement :

stay SSH The tool is right SD The card carries on hexdump Before printing 5M Address data for , Save to .txt file , And then use Hex Editor open uImage file , The first data you can see is 2705, But in fact, the storage location of this data is reversed , So in .txt Search the first three groups of data in , Find the offset address 200000.
Exynos4412 System migration summary _ file system
stay uboot When it starts, it will print out uboot Your startup address is 7fe7d000, Add the offset address to get the address where the kernel starts 8007D000, Finally, we set bootargs Inside kerneladdr by 0x8007D000, Successfully started the kernel !!
Exynos4412 System migration summary _ data _02

problem 2: Can't hook up SD card , Hint not found bootargs A piece of equipment in

terms of settlement :

2.1. First, because in Kernel The printed message did not sdhci Relevant information , So realize Kernel Does not add SD/MMC Inside S3C drive , add to PCI Drive support , In addition, prevent the kernel image from being generated by the virtual machine , take Fusion MPT driver and LPC Program into kernel .
2.2. Identified SD card , But I can't find init /linuxrc, Because my mistake will rootfs.ext2 Moved directly to the file system partition , No decompression, so I can't find init /linuxrc, Direct will Buildroot Catalog output Next target/ All files in the file system can be found by copying them to the file system partition init /linuxrc. be located stay Exynos4412 Upper use SD Card burning Linux The last step is to write the specific operation .
2.3. Due to unplugging SD There is a problem with the card step , Lead to SD The card is write protected , So you need to format Rootfs The district , Brush in again Rootfs.

Finally, the hook is successful . Set up bootargs You can set root=179:2,179 yes SD The card's master device number ,2 yes SD The slave device number of the card file system partition , Of course, you can set it to root=/dev/mmcblk0p2,0 representative SD card ,1 On behalf of the board emmc,p2 Refers to the second partition .
Exynos4412 System migration summary _sd card _03
Exynos4412 System migration summary _ file system _04

lack
/*
* at present LCD The function has not been implemented yet and needs to be modified and debugged , Keep filling the hole .
*SD The reliability of the card as a file system needs to be improved
*/

版权声明
本文为[MuggleZero]所创,转载请带上原文链接,感谢
https://chowdera.com/2021/11/20211109095357397J.html

随机推荐