当前位置:网站首页>全志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过了,那以后做板子就好玩多了。
边栏推荐
- Thymeleaf的配置
- Research Report on the overall scale, major producers, major regions, products and application segments of swine vaccine in the global market in 2022
- 浅谈珂朵莉树
- Interview shock 60: what will cause MySQL index invalidation?
- Mit6.031 software construction7 reading notesdesigning specifications
- Nifi from introduction to practice (nanny level tutorial) - identity authentication
- MIT6.031 软件构造 Reading7阅读笔记Designing Specifications(设计规范)
- Tidb 6.0: making Tso more efficient tidb Book rush
- The GLM function of R language is used to build a binary logistic regression model (the family parameter is binomial), and the AIC function is used to compare the AIC values of the two models (simple
- The DBSCAN function of FPC package in R language performs density clustering analysis on data, and the plot function visualizes the clustering graph
猜你喜欢

Histrix工作原理

Research Report on the overall scale, major manufacturers, major regions, products and application segments of hydraulic torque in the global market in 2022

Interview shock 60: what will cause MySQL index invalidation?

Peak store app imitation station development play mode explanation source code sharing

What is the TCP 3-time handshake process?

DM8:达梦数据库-锁超时
![Dynamic programming [4] (counting class DP) example: integer partition](/img/06/4b3863bbb85582348c6f4ea7c5511e.png)
Dynamic programming [4] (counting class DP) example: integer partition

行业洞察 | 新零售业态下,品牌电商应如何重塑增长?

JMETER连接DM8

This privatized deployed enterprise knowledge base makes telecommuting a zero distance
随机推荐
This privatized deployed enterprise knowledge base makes telecommuting a zero distance
MapReduce原理剖析(深入源码)
What is the TCP 3-time handshake process?
build. Gradle configuration
和动态规划的第一次相遇
56. Core principle of flutter - flutter startup process and rendering pipeline
面试突击60:什么情况会导致 MySQL 索引失效?
alibaba jarslink
Raspberry pie 3b+ learning
Picocli getting started
Private dry goods sharing: how to implement platform in Enterprise Architecture
[high frequency interview questions] difficulty 1.5/5, LCS template questions
The DBSCAN function of FPC package in R language performs density clustering analysis on data, and the plot function visualizes the clustering graph
uniapp下拉弹层选择框效果demo(整理)
Safe landing practice of software supply chain under salesforce containerized ISV scenario
yml的配置
In 2021, the global carbon graphite brush revenue is about US $2366million, and it is expected to reach US $2701.8 million in 2028
Time management understood after being urged to work at home
DM8:达梦数据库-锁超时
log4j的详情配置