相关文章
mkfs 参数
#mkfs.jffs2 -r rootfs -o fs.jffs2 -e 0x20000 --pad=0x500000 -s 0x800 –n -l即可生成 rootfs.jffs2Mkfs.jffs2各参数的意义如下:-r:指定要做成image的目录名。-o:指定输出image的文件名。-e:每一块要擦除的block size,默认是64KB.要注意,不同的flash, 其block size会不一样,三星的K9F2G08U0A的block size为0x20000(从其datasheet里可...
Debian 9.9 (stretch) 文件系统制作
0. 准备工作:sudo apt install qemu-user-static -y sudo apt install debootstrap -y mkdir rootfs1. debootstrapdebootstrap --foreign --verbose --arch=armhf stretch rootfs http...
debootstrap报"Release signed by unknown key"错误的解决方法
1、下载最新的ASC文件:wget https://ftp-master.debian.org/keys/release-11.asc -qO- | gpg --import --no-default-keyring --keyring ./debian-release-11.gpg注意这里的11对应debian的版本号。我这里是debian11 (bullseye)2、debootstrap指定asc文件sudo&...
老是提示:newer kernel available 解决方法
这个是由于没有正确的安装内核造成的。可以直接关掉提示 sudo apt purge needrestart...
Configure & Build
Configure and build Linux kernel for Surface RTEditing kernel build configurationFirst run the command make ARCH=arm tegra_defconfigThis will create a standard kernel config for tegra SoC's.Open the file .config in the kernel source directory wit...
f1c100s编译启动所需的uboot,kernel,rootfs
https://github.com/Icenowy/linux.git 有f1c100s-480272lcd-test和f1c100s分支, 然后自己手动修复一个 USB 问题,驱动就比较全了https://github.com/Lichee-Pi/linux.git 有nano-4.14-exp和nano-5.2-flash分支,用哪个合适个人画了块没有连接任何其他模块的F1C100S开发板,没有链接任何外设,本文是编译所有启动所需的三大件。(只要编...
Ubuntu+Openbox_还原_安装_脚本
第一步:安装UBUNTU基本系统安装基本的命令行系统,选英文。装好重启后马上把系统tar备份(只有186M),下次重装1分钟就可以解压第二步:执行脚本#!/bin/bash #联网----------->卸载DHCP、配置拨号、解决掉线、网络接口 sudo apt-get -y purge isc-dhcp-client && sudo pppoeconf && s...
如何使用 Ubuntu 安装和配置 Openbox
Openbox是一个相当简单的窗口管理器,我们可以根据需要构建和自定义。本教程向我们展示了在 Ubuntu 中设置 Openbox 的基础知识、如何更改菜单、如何添加扩展坞以及如何设置墙纸。安装 Openbox要安装 Openbox,请同时打开终端窗口(按 CTRL 、 ALT 和 T )或者在破折号中搜索“TERM”并选择图标。输入以下命令:sudo apt install openbox obconf单击右上角的图标,然后注销。如何切换到 Openbo...






支付宝打赏
微信打赏 
