debian-rpi-image-script:用于启动Raspberry Pi系列的构建Debian和Devuan SD卡映像

  • o5_166729
    了解作者
  • 26.1KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-04 02:48
    上传日期
内置图片可在(不支持USB MSD引导,对不起) 。 现在,如果您已将RPi固件更新为则这些映像现在支持USB引导。 警告:您需要 。 否则,这里的脚本可能会失败。 Debian-rpi图像脚本 用于启动Raspberry Pi系列的Debian SD卡映像的Shell脚本。 官方Debian SD卡映像可从获得。此shell脚本提供的功能包括 GPT分区并从USB启动。 选择Debian 10 Buster,11 Bullseye及更高版本。 在ifupdown,Network Manager和systemd-networked之间进行选择,以进行网络配置 根据选择包装范围 可以将btrfs和ext4文件系统选择为/。 btrfs compress-force = lzo大大提高了存储速度和大小。 设置交换分区的大小(或缺少交换分区的大小) 选择时区和地区 无线SSID的选择
debian-rpi-image-script-main.zip
  • debian-rpi-image-script-main
  • devuan-rpi-sd-builder.sh
    8.9KB
  • root-setup.sh
    6.1KB
  • README.md
    5KB
  • LICENSE
    25.9KB
  • build-raspi4-kernel.sh
    3KB
  • raspberripyOS-rpi-sd-builder.sh
    8.8KB
  • debian-rpi-sd-builder.sh
    11.4KB
内容介绍
Built images are available at https://drive.google.com/drive/folders/1-L5pT4tn7wfxp9urjnIDL2SvAbxO8Vl6?usp=sharing ~~(not supporting USB MSD boot, sorry)~~. **Now these images support USB booting if you have updated the RPi firmware** as https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md . Warning: You need [a recent version of qemu-user-static package](https://packages.debian.org/sid/qemu-user-static). Otherwise the scripts here will probably fail. # debian-rpi-image-script Shell script to build Debian SD card image booting the Raspberry Pi series. Official Debian SD card images are available at https://raspi.debian.net/ Features provided by this shell script are * GPT partitioning and boot from USB. * Choice of Debian 10 Buster, 11 Bullseye and later. * Choice among ifupdown, Network Manager and systemd-networkd for network configuration * Choice of package coverage according to the [package priority](https://www.debian.org/doc/debian-policy/ch-archive.html#s-priorities) * btrfs and ext4 filesystems can be chosen as /. btrfs **compress-force=lzo** significantly increases the storage speed and size. * Setting the size of a swap partition (or lack of it) * Choice of timezone and locale * Choice of wireless SSID * Choice of keyboard layout If you find **any trouble**, please report it as **a github issue here**. Other build shell scripts are listed below. # raspberripyOS-rpi-sd-builder Use the kernel from Raspberry Pi OS. Except that, it is the same as above. Use of wayland requires [module_blacklist=v3d](https://github.com/raspberrypi/linux/issues/4202). # devuan-rpi-image-script SD card image builder is also available here for Devuan 3 Beowulf, 4 Chimaera and later. Devuan official images are available at https://arm-files.devuan.org/ , which does not have an image for RPi4, but the above script can produce an image booting RPi4 (incl. 8GB model). **The two shell scripts are similar except packages given as an argument to `mmdebstrap`,** namely, `systemd-sysv,udev,debian-archive-keyring` versus `sysvinit-core,eudev,devuan-keyring,sntp`. Hardware clock can be corrected by `sntp -S pool.ntp.org` as root. # Additional packages * language supports can be installed, for example, by `apt-get install task-japanese task-japanese-desktop`. * Graphical User Interface can be installed by `tasksel`. # Comments on Linux 5.10 and Rapsberry Pi 4 (as of January 2021) * `drivers/gpu/drm/vc4.ko` enables 4K resolution and DRI/DRM. 4K resolution can be enabled without `vc4.ko` on RPi4 if `hdmi_enable_4kp60=1` is included in `config.txt`. * But [vc4.ko sometimes garbles display output](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980785). `disable_fw_kms_setup=1` in `config.txt` often supress this symptom. If `disable_fw_kms_setup=1` does not help, patched kernel package is available at http://153.240.174.134:64193/kernel-deb-5.9/ **The patch was included at Linux 5.10.13**. * [`gdm3` display manager and gnome session fail with vc4.ko because of insufficient CMA](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980536). Adding `cma=192M@256M` to `cmdline.txt` fixes this symptom. * ~~[Boot from USB is impossible](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977694) unlike Linux 5.9. Kernel package capable of USB boot is available at http://153.240.174.134:64193/kernel-deb-5.9/~~ * WiFi at 5GHz is sometimes blocked by the vc4.ko and high resolution display. `module_blacklist=vc4` in `cmdline.txt` and `hdmi_enable_4kp60=1` could enable both 5GHz WiFi and high resulution simultaneously. * Kernel package in the above URL is built by `build-raspi4-kernel.sh` in this directory. * ~~[When kernel is booted from USB, `udisks2` consumes lots of CPU power](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980980). It can be prevented by `systemctl mask udisks2`.~~ # 32-bit executables on 64-bit linux-image-arm64 kernel `linux-image-arm64` 64-bit kernel can run `armhf` 32-bit executables. If `armhf,arm64` is given to the above scripts as the target architecture in place of `armhf` or `arm64`, then an SD card with 32-bit executables and 64-bit kernel will be built. It should boot if `debian-rpi-sd-builder.sh` is used. It will not if `devuan-rpi-sd-builder.sh` is used, and the following steps are necessary. The difference comes from `systemd-nspawn` versus `chroot`. 1. `mount /dev/mmcblk0p2 /mnt` 2. `mount /dev/mmcblk0p1 /mnt/boot/firmware` 3. `echo arm_64bit=1 >>/mnt/boot/firmware/config.txt` 4. `cp -p /mnt/usr/lib/linux-image-*-arm64/broadcom/bcm*rpi*.dtb /mnt/boot/firmware` 5. `umount /mnt/boot/firmware` 6. `umount /mnt` # Other image builders * https://github.com/pyavitz/rpi-img-builder (For Ubuntu, Debian and Devuan) * https://raspi.debian.net/daily-images/ (for Debian, of course) * https://evolvis.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=shellsnippets/shellsnippets.git;a=blob;f=posix/mkrpi3b%2Bimg.sh;hb=HEAD (for Debian, RPi3) * https://github.com/debian-pi/raspbian-ua-netinst If you find another builder not listed above, please open a github issue. Where is the Ubuntu official builder?
评论
    相关推荐
    • debian-cdimage
      存储库包含用于AArch64 Laptops的Debian CD映像。 CD映像在AArch64笔记本电脑上的工作方式与人们通常在x86设备上看到的方式相同。 本指南仅重点介绍我们需要在AArch64笔记本电脑上处理的怪癖。 CD映像在以下条件下...
    • inkscope-debian
      我们还使用 mongoDB 来存储实时指标和历史指标。 主要文件夹有: 文档包含inkScope架构图、数据模型... inkscopeViz :用于可视化 Ceph 集群状态(仪表板)、Ceph 集群对象之间的关系以及管理 ceph 集群的某些...
    • debian-router-repo:正在建设中! 预建的debian-router软件包
      Debian路由器-存储debian-router软件包的打包和预配置版本。 有关更多信息,请参见debian-router回购。 正在施工:construction: 该存储库将被删除(请参阅debian-router-test库)
    • debian-benchmarks-game-visualization
      Debian基准测试游戏数据的可视化 来自的原始数据 该存储库的每周屏幕截图。
    • deb-buildscripts:Debian构建脚本
      存储库包含一组自包含脚本,可用于下载和构建debian软件包。 当官方软件包系统信息库中的版本已过时并且您只想构建软件包而不必担心复杂的构建过程时,此功能将非常有用。 脚本自动 下载正确版本的软件包 打开...
    • packages:COEX Debian软件包存储
      COEX包裹 COEX debian存储库: : 。 用建造的。 软件包存储在目录中。 最终的站点将带有GitHub页面。
    • 恰当地:恰当地-Debian存储库管理工具
      恰当地:恰当地-Debian存储库管理工具
    • deb-pkg-gen:网站为存储库生成debian软件包
      deb-pkg-gen:网站为存储库生成debian软件包
    • Debian-Downloader:Debian下载服务器
      好吧,这不是一个可以轻松下载Debian存储库,而是更多的东西,如果您愿意的话,可以将您的Debian服务器变成下载机/种子盒。 使用Ansible,这组角色将安装以下软件: (叉从 ) 未来的补充 我打算添加以下软件/...
    • GaussDB_100_1.0.1-DATABASE-REDHAT-64bit.tar.gz
      guassdb100在redhat上安装包,单机部署的包,安装步骤请看我的文中介绍,经过大量实验搭建总结出来的文档