当前位置:网站首页>全志A13折腾备忘
全志A13折腾备忘
2022-06-27 12:03:00 【五块钱的方便面】
启动过程:
uboot-with-spl --> kernel --> os
其实主要是uboot-with-spl这一块,根据OLinuXino的说法,uboot分为两类,sunxi uboot;mainline uboot,分别是全志和uboot官网的2个版本。在文档里只说了支持的内存不同,sunxi uboot 适用于现代内存,主线支持三星和现代两种。
从OLinuXino的文档来看,直接编译Uboot就出一个uboot-with-spl可以了,但有的文档说是编译出2个文件来(spl uboot).
烧录到tf卡方法:
sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8应该是A13 SOC片上的ROM启动过程会尝试读取tf卡的最开始部分扇区来获取启动设备,当然如果把uboot当成用户自定义程序也是可以的,SOC片上48k RAM应该也能干点事,只不过有DDR3,能跑Linux更好。

Uboot 通过下面命令配置一个boot.scr文件,用于配置加载内核和内核参数(script.bin)文件。
Now you have to create a new boot.cmd file with the following contain
setenv bootm_boot_mode sec
setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10
load mmc 0:1 0x43000000 script.bin || load mmc 0:1 0x43000000 boot/script.bin
load mmc 0:1 0x42000000 uImage || load mmc 0:1 0x42000000 boot/uImage
bootm 0x42000000
convert boot.cmd in boot.scr with the next command
# mkimage -C none -A arm -T script -d boot.cmd boot.scr
The result should be a new boot.scr file that you have to copy to the first SD card partitition(where uImage and script.bin file are located)实际内核只需要存在tf卡的第一个分区(FAT32)就可以了。有了内核,后续的就好办了。
先准备uboot部分吧,等周末看板子能打出来不,DDR3走线感觉未必能正常初始化得了,虽然uboot里面可以配置DRAM频率408M,但很难说。如果初始化DDR3过了,那以后做板子就好玩多了。
边栏推荐
- alibaba jarslink
- What's the matter with Amazon's evaluation dropping and failing to stay? How to deal with it?
- 怎么找相同台词的影视片段?这8个电影搜索神器,一句台词找到对应片段
- 聊聊 Go 语言与云原生技术
- 和动态规划的第一次相遇
- In 2021, the global professional liability insurance revenue was about USD 44740million, and it is expected to reach USD 55980million in 2028. From 2022 to 2028, the CAGR was 3.5%
- .NET6接入Skywalking链路追踪完整流程
- i. Construction of mx6ull C language environment
- MapReduce principle analysis (in-depth source code)
- Two usages of enumeration classes
猜你喜欢

pull request

【粉丝福利】今天给大家介绍一个白捡钱的方法-可转债,本人亲自验证,每年每人能获利1500元
![[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (II)](/img/ce/b58e436e739a96b3ba6d2d33cf8675.png)
[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (II)

In 2021, the global enhanced oil production surfactant revenue was about USD 202.3 million, and it is expected to reach USD 297.1 million in 2028

Raspberry pie 3b+ learning

怎么找相同台词的影视片段?这8个电影搜索神器,一句台词找到对应片段

Nifi from introduction to practice (nanny level tutorial) - identity authentication

一个有趣的网络掩码的实验

56. Core principle of flutter - flutter startup process and rendering pipeline

In 2021, the global carbon graphite brush revenue is about US $2366million, and it is expected to reach US $2701.8 million in 2028
随机推荐
uni-app 使用escook/request-miniprogram插件发请求说明
Online bidding of Oracle project management system
Deep understanding of happens before principle
MapReduce practical cases (customized sorting, secondary sorting, grouping, zoning)
Configuration of thymeleaf
How to participate in openharmony code contribution
JMETER连接DM8
[high frequency interview questions] difficulty 1.5/5, LCS template questions
Don't miss it. New media operates 15 treasure official account to share
Wechat applet realizes five-star evaluation
Nifi from introduction to practice (nanny level tutorial) - identity authentication
自学ADT和OOP
mybaitis生成器详解
Mit6.031 software construction7 reading notesdesigning specifications
号称史上最难618,淘宝数据盘点你做对了吗?
Shell script learning notes
R language uses the polR function of mass package to construct the ordered multi classification logistic regression model, and uses the vglm function of VGAM package to test the parallelism hypothesis
剑指 Offer 04. 二维数组中的查找
The DBSCAN function of FPC package in R language performs density clustering analysis on data, and the plot function visualizes the clustering graph
How to adjust an integer that is entered in Excel but always displays decimals?