当前位置:网站首页>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=8
Should 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 .
边栏推荐
- Getting started with go web programming: validators
- Interview shock 60: what will cause MySQL index invalidation?
- C# wpf 实现撤销重做功能
- 【On nacos】快速上手 Nacos
- Unlock the secret of C language key words (issue 6)
- Basic usage and principle of fork/join framework
- application. Configuration information of properties
- build. Gradle configuration
- 最短编辑距离(线性dp写法)
- Two usages of enumeration classes
猜你喜欢
56. Core principle of flutter - flutter startup process and rendering pipeline
Interviewer: with the for loop, why do you need foreach?
解除百度文库VIP、语雀、知乎付费限制,原来这么简单
ACL 2022 | 中科院提出TAMT:TAMT:通过下游任务无关掩码训练搜索可迁移的BERT子网络
alibaba jarslink
剑指 Offer 04. 二维数组中的查找
$15.8 billion! 2021 the world's top15 most profitable hedge fund giant
【粉丝福利】今天给大家介绍一个白捡钱的方法-可转债,本人亲自验证,每年每人能获利1500元
浏览器cookie转selenium cookie登录
全球最强截图软件 Snipaste
随机推荐
C# wpf 实现撤销重做功能
树莓派 3b+ 学习
全志A13折腾备忘
【TcaplusDB知识库】TcaplusDB-tcapsvrmgr工具介绍(二)
和动态规划的第一次相遇
Interview shock 60: what will cause MySQL index invalidation?
记一次 .NET 某物管后台服务 卡死分析
解开C语言的秘密《关键字》(第六期)
Configuration of thymeleaf
Wechat applet payment password input
Shell script learning notes
Master formula
怎么找相同台词的影视片段?这8个电影搜索神器,一句台词找到对应片段
秒云荣获《2022爱分析 · IT运维厂商全景报告》智能运维AIOps市场代表厂商
C # WPF realizes undo redo function
Mybaitis generator details
动态规划【四】(计数类dp)例题:整数划分
57. The core principle of flutter - layout process
Jwas: a Bayesian based GWAS and GS software developed by Julia
Nifi from introduction to practice (nanny level tutorial) - identity authentication