当前位置:网站首页>全志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过了,那以后做板子就好玩多了。
边栏推荐
- Operators are also important if you want to learn the C language well
- word文本框换页
- Peak store app imitation station development play mode explanation source code sharing
- MapReduce practical cases (customized sorting, secondary sorting, grouping, zoning)
- 数学知识——博弈论(巴什博奕、尼姆博奕、威佐夫博奕)思路及例题
- Deep understanding of happens before principle
- 微服务拆分
- Topic38——56. 合并区间
- 想学好C语言,操作符也很重要
- 如何修改 node_modules 裏的文件
猜你喜欢

pull request

This privatized deployed enterprise knowledge base makes telecommuting a zero distance

pull request

Interview shock 60: what will cause MySQL index invalidation?
![[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (II)](/img/ce/b58e436e739a96b3ba6d2d33cf8675.png)
[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (II)

How to find the movie and TV clips with the same lines? These 8 movies search for artifact, and find the corresponding segment in one line

uni-app开发微信小程序动态渲染页面,动态改变页面组件模块顺序
![[on Nacos] get started quickly](/img/cc/af4ab640952b880595a89f66688ff5.jpg)
[on Nacos] get started quickly
![Dynamic programming [4] (counting class DP) example: integer partition](/img/06/4b3863bbb85582348c6f4ea7c5511e.png)
Dynamic programming [4] (counting class DP) example: integer partition

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%
随机推荐
Deep understanding of happens before principle
Uniapp drop-down layer selection box effect demo (sorting)
On ticheck
What's the matter with Amazon's evaluation dropping and failing to stay? How to deal with it?
Topic37——64. 最小路径和
Mathematical knowledge -- ideas and examples of game theory (bash game, Nim game, wizov game)
log4j.properties的配置详解
秒云荣获《2022爱分析 · IT运维厂商全景报告》智能运维AIOps市场代表厂商
动态规划【三】(区间dp)石子合并
和动态规划的第一次相遇
【TcaplusDB知识库】TcaplusDB-tcapsvrmgr工具介绍(二)
Minimum editing distance (linear DP writing method)
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
.NET6接入Skywalking链路追踪完整流程
如何修改 node_modules 里的文件
Safe landing practice of software supply chain under salesforce containerized ISV scenario
MIT6.031 软件构造 Reading7阅读笔记Designing Specifications(设计规范)
ACL 2022 | 中科院提出TAMT:TAMT:通过下游任务无关掩码训练搜索可迁移的BERT子网络
R language uses the poisgof function of epidisplay package to test the goodness of fit of Poisson regression and whether there is overdispersion
[on Nacos] get started quickly