diff --git a/README.en.md b/README.en.md index a7b96e611ab867e455ee89f4f5394b1a3df73e41..b52fcbad46560d4f023f47c053ccc0de2d0ccc14 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 0960e7e192f35c1d8113c8ad8a027625addf7cbb..4b771174f12f6685ef970ee91eb1787243961a95 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 0000000000000000000000000000000000000000..548f4accc250b9b572789ce14af9d47b4ee4466c --- /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 47440fc426632f5204892686912ceba7c8f8f9ee..f8de7d0e58abc82ab015ee941eff21c3bc6b5a22 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 +