当前位置:网站首页>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
边栏推荐
- 机器人队伍学习方法,实现8.8倍的人力回报
- Flir Blackfly S 工业相机:配置多个摄像头进行同步拍摄
- 1500万员工轻松管理,云原生数据库GaussDB让HR办公更高效
- pgpool-II和pgpoolAdmin的使用
- 6 seconds to understand the book to the Kindle
- Stm32f4 --- PWM output
- 3--新唐nuc980 kernel支持jffs2, Jffs2文件系统制作, 内核挂载jffs2, uboot网口设置,uboot支持tftp
- RC振荡器和晶体振荡器简介
- 1个月增长900w+播放!总结B站顶流恰饭的2个新趋势
- Integrated navigation: product description and interface description of zhonghaida inav2
猜你喜欢

FLIR blackfly s usb3 industrial camera: how to use counters and timers

Overall query process of PostgreSQL

【论文阅读|深读】DNGR:Deep Neural Networks for Learning Graph Representations

Data connection mode in low code platform (Part 1)

Introduction to FLIR blackfly s industrial camera

String or binary data will be truncated

老板被隔离了

【森城市】GIS数据漫谈(二)

Blackfly s usb3 industrial camera: buffer processing

Zhang Ping'an: accelerate cloud digital innovation and jointly build an industrial smart ecosystem
随机推荐
3--新唐nuc980 kernel支持jffs2, Jffs2文件系统制作, 内核挂载jffs2, uboot网口设置,uboot支持tftp
Processing image files uploaded by streamlit Library
老板被隔离了
argo workflows源码解析
Sensor: introduction of soil moisture sensor (xh-m214) and STM32 drive code
Infrared camera: juge infrared mag32 product introduction
The cities research center of New York University recruits master of science and postdoctoral students
Flir Blackfly S 工业相机:通过外部触发实现多摄像头同步拍摄
Decryption function calculates "task state and lifecycle management" of asynchronous task capability
真实项目,用微信小程序开门编码实现(完结)
强化学习如何用于医学影像?埃默里大学最新《强化学习医学影像分析》综述,阐述最新RL医学影像分析概念、应用、挑战与未来方向
Overall query process of PostgreSQL
传感器:土壤湿度传感器(XH-M214)介绍及stm32驱动代码
B站6月榜单丨飞瓜数据UP主成长排行榜(哔哩哔哩平台)发布!
Flir Blackfly S 工业相机:自动曝光配置及代码
A new path for enterprise mid Platform Construction -- low code platform
Tips for web development: skillfully use ThreadLocal to avoid layer by layer value transmission
4--新唐nuc980 挂载initramfs nfs文件系统
Lidar: introduction and usage of ouster OS
低代码平台中的数据连接方式(上)