当前位置:网站首页>Quanzhi A13 tossing memo
Quanzhi A13 tossing memo
2022-06-27 12:28:00 【Five yuan instant noodles】
The boot process :
uboot-with-spl --> kernel --> os
In fact, it's mainly uboot-with-spl This piece of , according to OLinuXino That's what I'm saying ,uboot There are two kinds of ,sunxi uboot;mainline uboot, They are Quan Zhi and uboot Official website 2 A version . The document only says that the supported memory is different ,sunxi uboot Suitable for modern memory , The mainline supports Samsung and Hyundai .
from OLinuXino Let's take a look at the documents , Compile directly Uboot Just one uboot-with-spl All right , But some documents say that they are compiled 2 Files (spl uboot).
Burn to tf Card method :
sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8Should be A13 SOC On chip ROM The startup process attempts to read tf The first sector of the card to obtain the boot device , Of course, if you put uboot It is also possible to use it as a user-defined program ,SOC On film 48k RAM Should be able to do something , It's just that DDR3, Can run Linux Better .

Uboot Use the following command to configure a boot.scr file , Used to configure loading kernel and kernel parameters (script.bin) file .
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)The actual kernel only needs to exist tf The first partition of the card (FAT32) That's all right. . With the kernel , The follow-up will be easy .
Prepare first uboot Part of it , Wait till the weekend to see if the board can come out ,DDR3 The routing feeling may not be able to initialize normally , although uboot It can be configured inside DRAM frequency 408M, But it's hard to say. . If you initialize DDR3 After that , After that, it will be much more fun to make boards .
边栏推荐
- Interviewer: with the for loop, why do you need foreach?
- Minimum editing distance (linear DP writing method)
- Building crud applications in golang
- 聊聊 Go 语言与云原生技术
- uni-app 使用escook/request-miniprogram插件发请求说明
- Raspberry pie 3b+ learning
- .NET6接入Skywalking链路追踪完整流程
- LeetCode_快速幂_递归_中等_50.Pow(x, n)
- esp32s3 IPERF例程测试 esp32s3吞吐量测试
- Peak store app imitation station development play mode explanation source code sharing
猜你喜欢

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

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
![[on Nacos] get started quickly](/img/cc/af4ab640952b880595a89f66688ff5.jpg)
[on Nacos] get started quickly

剑指 Offer 04. 二维数组中的查找

Secyun won the "2022 AI analysis · it operation and maintenance vendor panorama report" as the representative vendor of intelligent operation and maintenance aiops Market

StarCraft's Bug King ia retired for 2 years to engage in AI, and lamented that it was inferior

$15.8 billion! 2021 the world's top15 most profitable hedge fund giant

树莓派 3b+ 学习

57. The core principle of flutter - layout process

Private dry goods sharing: how to implement platform in Enterprise Architecture
随机推荐
今晚战码先锋润和赛道第2期直播丨如何参与OpenHarmony代码贡献
log4j.properties的配置详解
uni-app开发微信小程序动态渲染页面,动态改变页面组件模块顺序
Thinkphp6 interface limits user access frequency
Fork/Join 框架基本使用和原理
全志A13折腾备忘
PyQt,PySide-槽函数被执行了两次
Configuration of thymeleaf
【面试高频题】难度 1.5/5,LCS 模板题
浏览器cookie转selenium cookie登录
【粉丝福利】今天给大家介绍一个白捡钱的方法-可转债,本人亲自验证,每年每人能获利1500元
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
What's the matter with Amazon's evaluation dropping and failing to stay? How to deal with it?
Microservice splitting
MapReduce principle analysis (in-depth source code)
Four memory areas (stack, heap, global, code area)
MySQL high level statements (I)
[on Nacos] get started quickly
MapReduce原理剖析(深入源码)
Topic38——56. Consolidation interval