当前位置:网站首页>3 -- Xintang nuc980 kernel supports JFFS2, JFFS2 file system production, kernel mount JFFS2, uboot network port settings, and uboot supports TFTP
3 -- Xintang nuc980 kernel supports JFFS2, JFFS2 file system production, kernel mount JFFS2, uboot network port settings, and uboot supports TFTP
2022-07-07 02:26:00 【A beam of light in the dark 1023】
Contents of this article
1.uboot Network port setting
2. Kernel creation MTD Partition ,Jffs2 File system production
3. The kernel support jffs2
4. Kernel mount jffs2
First support spi nor flash
https://blog.csdn.net/qq_43145360/article/details/125520066?spm=1001.2014.3001.5502
1.uboot Network port setting
Print the file path that needs to be modified for the space problem , I'll meet you later
//Net:
board_r.c 659
// modify nuc980 emac
drivers/net/nuc980_eth.c 255
Final effect :
1) modify include/configs/nuc980_evb.h
Modified into :
2) modify include/env_default.h
default_enviroment Newly added CONFIG_ETHADDR
3) modify uboot Configure and support network ports
open network device support

modify Command line interface
->Network commands
Remove the first three , Otherwise, it can't be used tftp. Support ping
4) Compile and download
Print out env
Use the network cable to make the board and the computer in the same network segment , open tftp Tools , Use tftp Download the kernel image
tftp 0xa0000 980uimage
run bootcmd
2. Kernel creation MTD Partition ,Jffs2 File system production
Kernel creation MTD Partition reference article
https://blog.csdn.net/qq_43145360/article/details/125573572?spm=1001.2014.3001.5502
Effect after kernel startup :
Busybox Making root file system can refer to the article
Reference article
https://blog.csdn.net/weixin_38387929/article/details/108538631?spm=1001.2014.3001.5506
Need to use mtd-util Of mkfs.jffs2 and rootfs/ Generate rootfs.jffs2
Make jffs2 Mirror can refer to the article
https://blog.csdn.net/itismine/article/details/4775824?spm=1001.2014.3001.5506
After compilation, it can be started in /dev/ram0 Within the Division cramfs Format of the file system
Generated rootfs.jff2 Put it in rootfs/tmp/ in , Program into the kernel image
3. The kernel support jffs2
File systems --->
Miscellaneous filesystems --->
<*> YAFFS2 file system support
[*] Autoselect yaffs2 format
Configure language options
Native Language support --->
(iso8859-1) Default NLS Option
<*> Codepage 437(United States, Canada)
<*> Simplified Chinese charset(CP936, GB2312)
<*> NLS ISO8859-1 (Latin 1; Western European Language)
<*> NLS UTF-8
4. Kernel mount jffs2
Use uboot After booting the kernel , Get into tmp in ,
Use dd Command generation is all ff Of , Size and mtdblock2 Same file , Also on the tmp in , Program into kernel ,
Reference article
https://www.jianshu.com/p/398fb66d06b2
Using redirection cat erase mtdblock2 Partition
cat fftxt > /dev/mtdblock2
Use cat take rootfs.jff2 write in mtdblock2 Partition
cat rootfs.jffs2 > /dev/mtdblock2
mount -a
mdev -s
notice proc After there is a device under the folder
Use mount mount /dev/block2 Partition
mount -t jffs2 /dev/mtdblock2 /mnt
cd /mnt
ls
You can see the mounted file system
It has been debugged to this , About cramfs and jffs2, I think this is to start a small file system first (ram), Go in and then mount mount
—> The links quoted in this article are all for the purpose of sorting out materials , If there is any infringement , Please contact to delete
边栏推荐
- Freeswitch dials extension number source code tracking
- Alibaba cloud middleware open source past
- 【论文阅读|深读】DNGR:Deep Neural Networks for Learning Graph Representations
- Processus général de requête pour PostgreSQL
- 【论文阅读|深读】 GraphSAGE:Inductive Representation Learning on Large Graphs
- B站6月榜单丨飞瓜数据UP主成长排行榜(哔哩哔哩平台)发布!
- XML to map tool class xmlmaputils (tool class V)
- Schedulx v1.4.0 and SaaS versions are released, and you can experience the advanced functions of cost reduction and efficiency increase for free!
- FLIR blackfly s usb3 industrial camera: how to use counters and timers
- Time synchronization of livox lidar hardware -- PPS method
猜你喜欢

传感器:土壤湿度传感器(XH-M214)介绍及stm32驱动代码

Stm32f4 --- PWM output

猿桌派第三季开播在即,打开出海浪潮下的开发者新视野
![[paper reading | deep reading] rolne: improving the quality of network embedding with structural role proximity](/img/21/59c4d61b22e7d021b7a72a64a16b48.png)
[paper reading | deep reading] rolne: improving the quality of network embedding with structural role proximity

String or binary data will be truncated

This week's hot open source project!

Detailed explanation of line segment tree (including tested code implementation)

Stm32f4 --- general timer update interrupt

Flir Blackfly S 工业相机 介绍

激光雷达:Ouster OS产品介绍及使用方法
随机推荐
MetaForce原力元宇宙开发搭建丨佛萨奇2.0系统开发
Flir Blackfly S工业相机:颜色校正讲解及配置与代码设置方法
Threadlocalutils (tool class IV)
Gee upgrade can realize one piece of run tasks
Yyds dry goods inventory # solve the real problem of famous enterprises: maximum difference
1500万员工轻松管理,云原生数据库GaussDB让HR办公更高效
How to build a 32core raspberry pie cluster from 0 to 1
Infrared camera: juge infrared mag32 product introduction
机器人队伍学习方法,实现8.8倍的人力回报
1--新唐nuc980 NUC980移植 UBOOT,从外部mx25l启动
Introduction to the internal structure of the data directory of PostgreSQL
Processing image files uploaded by streamlit Library
组合导航:中海达iNAV2产品描述及接口描述
Several classes and functions that must be clarified when using Ceres to slam
FLIR blackfly s industrial camera: synchronous shooting of multiple cameras through external trigger
大咖云集|NextArch基金会云开发Meetup来啦!
Flir Blackfly S 工业相机:自动曝光配置及代码
pgpool-II和pgpoolAdmin的使用
强化学习如何用于医学影像?埃默里大学最新《强化学习医学影像分析》综述,阐述最新RL医学影像分析概念、应用、挑战与未来方向
STM32F4---通用定时器更新中断