From 66a2cca8b2d164e4bc8f545e64f4260a3a3a7067 Mon Sep 17 00:00:00 2001 From: yafen Date: Mon, 27 Apr 2020 15:08:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9C8=E5=8C=BA=20hostname=20=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E9=9F=B3=E9=A2=91=20bcm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit new img url img release date and size --- README.en.md | 6 ++-- README.md | 6 ++-- scripts/build-img.sh | 1 + scripts/config/config.txt | 65 +++++++++++++++++++++++++++++++++++++++ scripts/scripts/chroot.sh | 9 +++++- 5 files changed, 82 insertions(+), 5 deletions(-) create mode 100644 scripts/config/config.txt diff --git a/README.en.md b/README.en.md index a7b96e6..b52fcba 100644 --- a/README.en.md +++ b/README.en.md @@ -31,10 +31,12 @@ You can get introduction of openEuler RaspberryPi SIG from [sig-RaspberryPi](htt ## How to download latest image -Alpha version of openEuler 20.03 LTS image for Raspberry Pi: . +Alpha version of openEuler 20.03 LTS image for Raspberry Pi, [download](https://isrc.iscas.ac.cn/EulixOS/repo/dailybuild/1/isos/20200427/openEuler_20200427121211.img.xz). Basic information of the above image: +- Release date: 2020-04-27 +- Size: 240 MiB - Kernel version number: 4.19.90-2003.4.0.0036 - Firmware source: [firmware](https://github.com/raspberrypi/firmware), [bluez-firmware](https://github.com/RPi-Distro/bluez-firmware), [firmware-nonfree](https://github.com/RPi-Distro/firmware-nonfree) - Repository of rootfs: [openEuler-20.03-LTS](http://repo.openeuler.org/openEuler-20.03-LTS/everything/aarch64/) @@ -105,4 +107,4 @@ or In addition to the first parameter DOCKER_FILE, the other parameters are the same as the corresponding parameters in "Build on host": -- DOCKER_FILE: The URL or name of the Docker image, which defaults to `https://repo.openeuler.org/openEuler-20.03-LTS/docker_img/aarch64/openEuler-docker.aarch64.tar.xz`. With the default parameter, the script will automatically download the Docker image of openEuler 20.03 LTS and import it into the local system. Caution, if DOCKER_FILE is a file name, please make sure this file in the config directory. Otherwise, if DOCKER_FILE is a URL, please make sure you can get a correct Docker image from this URL. \ No newline at end of file +- DOCKER_FILE: The URL or name of the Docker image, which defaults to `https://repo.openeuler.org/openEuler-20.03-LTS/docker_img/aarch64/openEuler-docker.aarch64.tar.xz`. With the default parameter, the script will automatically download the Docker image of openEuler 20.03 LTS and import it into the local system. Caution, if DOCKER_FILE is a file name, please make sure this file in the config directory. Otherwise, if DOCKER_FILE is a URL, please make sure you can get a correct Docker image from this URL. diff --git a/README.md b/README.md index 0960e7e..4b77117 100644 --- a/README.md +++ b/README.md @@ -29,10 +29,12 @@ SIG 组基本信息位于 [sig-RaspberryPi](https://gitee.com/jianminw/community ## 最新镜像 -openEuler 20.03 LTS 的内测版本镜像:。 +openEuler 20.03 LTS 的内测版本镜像,[下载地址](https://isrc.iscas.ac.cn/EulixOS/repo/dailybuild/1/isos/20200427/openEuler_20200427121211.img.xz)。 该镜像的基本信息: +- 发布时间:2020-04-27 +- 大小:240 MiB - 内核版本号:4.19.90-2003.4.0.0036 - 固件来源:[firmware](https://github.com/raspberrypi/firmware)、[bluez-firmware](https://github.com/RPi-Distro/bluez-firmware)、[firmware-nonfree](https://github.com/RPi-Distro/firmware-nonfree) - 构建文件系统的源仓库:[openEuler-20.03-LTS](http://repo.openeuler.org/openEuler-20.03-LTS/everything/aarch64/) @@ -106,4 +108,4 @@ openEuler 20.03 LTS 的内测版本镜像: cmdline.txt popd cp --preserve=mode,timestamps --no-preserve=ownership ${output_dir}/Image ${boot_mnt}/kernel8.img diff --git a/scripts/config/config.txt b/scripts/config/config.txt new file mode 100644 index 0000000..548f4ac --- /dev/null +++ b/scripts/config/config.txt @@ -0,0 +1,65 @@ +# For more options and information see +# http://rpf.io/configtxt +# Some settings may impact device functionality. See link above for details + +# uncomment if you get no picture on HDMI for a default "safe" mode +#hdmi_safe=1 + +# uncomment this if your display has a black border of unused pixels visible +# and your display can output without overscan +#disable_overscan=1 + +# uncomment the following to adjust overscan. Use positive numbers if console +# goes off screen, and negative if there is too much border +#overscan_left=16 +#overscan_right=16 +#overscan_top=16 +#overscan_bottom=16 + +# uncomment to force a console size. By default it will be display's size minus +# overscan. +#framebuffer_width=1280 +#framebuffer_height=720 + +# uncomment if hdmi display is not detected and composite is being output +#hdmi_force_hotplug=1 + +# uncomment to force a specific HDMI mode (this will force VGA) +#hdmi_group=1 +#hdmi_mode=1 + +# uncomment to force a HDMI mode rather than DVI. This can make audio work in +# DMT (computer monitor) modes +#hdmi_drive=2 + +# uncomment to increase signal to HDMI, if you have interference, blanking, or +# no display +#config_hdmi_boost=4 + +# uncomment for composite PAL +#sdtv_mode=2 + +#uncomment to overclock the arm. 700 MHz is the default. +#arm_freq=800 + +# Uncomment some or all of these to enable the optional hardware interfaces +#dtparam=i2c_arm=on +#dtparam=i2s=on +#dtparam=spi=on + +# Uncomment this to enable infrared communication. +#dtoverlay=gpio-ir,gpio_pin=17 +#dtoverlay=gpio-ir-tx,gpio_pin=18 + +# Additional overlays and parameters are documented /boot/overlays/README + +# Enable audio (loads snd_bcm2835) +dtparam=audio=on + +[pi4] +# Enable DRM VC4 V3D driver on top of the dispmanx display stack +dtoverlay=vc4-fkms-v3d +max_framebuffers=2 + +[all] +#dtoverlay=vc4-fkms-v3d diff --git a/scripts/scripts/chroot.sh b/scripts/scripts/chroot.sh index 47440fc..f8de7d0 100755 --- a/scripts/scripts/chroot.sh +++ b/scripts/scripts/chroot.sh @@ -2,5 +2,12 @@ set -e systemctl enable sshd systemctl enable ntpd -hostname OpenEuler +echo openEuler > /etc/hostname echo "openeuler" | passwd --stdin root +if [ -f /usr/share/zoneinfo/Asia/Shanghai ]; then + if [ -f /etc/localtime ]; then + rm -f /etc/localtime + fi + ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime +fi + -- Gitee