Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v8.4 #5460

Merged
merged 64 commits into from
Apr 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
448ed9f
Init v8.4
MichaIng Apr 3, 2022
542f1fe
v8.4 (#5402)
MichaIng Apr 8, 2022
65b3d6a
v8.4
MichaIng Apr 8, 2022
c2ec686
v8.4
MichaIng Apr 8, 2022
b2a0db3
v8.4
MichaIng Apr 9, 2022
217ebdb
v8.4 (#5416)
Joulinar Apr 9, 2022
9407a8d
v8.4
MichaIng Apr 10, 2022
054ae42
v8.4
MichaIng Apr 11, 2022
3d3618d
v8.4
MichaIng Apr 11, 2022
4656e8b
v8.4
MichaIng Apr 11, 2022
f039b5c
v8.4
MichaIng Apr 11, 2022
279dff2
v8.4
MichaIng Apr 11, 2022
c6f32fe
v8.4
MichaIng Apr 11, 2022
f33e7e2
v8.4
MichaIng Apr 11, 2022
29590b0
v8.4
MichaIng Apr 11, 2022
caa81a4
v8.4
MichaIng Apr 11, 2022
4a2a0b2
v8.4
MichaIng Apr 12, 2022
e7524cb
v8.4
MichaIng Apr 13, 2022
e5029bd
v8.4
MichaIng Apr 14, 2022
e6e798e
v8.4
MichaIng Apr 14, 2022
7aa79c1
v8.4
MichaIng Apr 16, 2022
1d5c593
Merge branch 'beta' into dev
MichaIng Apr 17, 2022
8c59258
v8.4
MichaIng Apr 18, 2022
15a408c
v8.4 (#5432)
MichaIng Apr 19, 2022
ddcc90e
v8.4 (#5436)
MichaIng Apr 19, 2022
1c15c42
v8.4
MichaIng Apr 19, 2022
72db6d5
v8.4
MichaIng Apr 19, 2022
276c27b
v8.4 (#5447)
MichaIng Apr 21, 2022
8d949fc
v8.4
MichaIng Apr 21, 2022
97d1d68
v8.4
MichaIng Apr 21, 2022
4b73d74
v8.4
MichaIng Apr 22, 2022
c864974
v8.4
MichaIng Apr 22, 2022
75a78ee
v8.4 (#5450)
MichaIng Apr 22, 2022
49d723d
v8.4 (#5451)
MichaIng Apr 23, 2022
ada0535
v8.4
MichaIng Apr 23, 2022
f5f9d44
Beta v8.4.0 (#5440)
MichaIng Apr 23, 2022
267a582
v8.4
MichaIng Apr 24, 2022
9e01b91
v8.4 (#5458)
MichaIng Apr 26, 2022
6f2b89e
v8.4
MichaIng Apr 26, 2022
e316744
v8.4
MichaIng Apr 26, 2022
e9201a1
v8.4
MichaIng Apr 27, 2022
8ac5ed7
v8.4
MichaIng Apr 27, 2022
3481c6b
v8.4
MichaIng Apr 27, 2022
3fd4846
v8.4
MichaIng Apr 27, 2022
ce69a45
v8.4
MichaIng Apr 27, 2022
4b71e42
v8.4
MichaIng Apr 27, 2022
4745244
v8.4
MichaIng Apr 27, 2022
4eb4bad
Beta v8.4.1 (#5459)
MichaIng Apr 27, 2022
3d16ef8
v8.4
MichaIng Apr 27, 2022
37acc30
v8.4
MichaIng Apr 29, 2022
0090c71
v8.4 (#5464)
MichaIng Apr 30, 2022
27c00d5
v8.4 (#5465)
MichaIng Apr 30, 2022
17c4e17
v8.4
MichaIng Apr 30, 2022
5bbeb50
v8.4
MichaIng Apr 30, 2022
11e255a
v8.4
MichaIng Apr 30, 2022
e3a9070
v8.4
MichaIng Apr 30, 2022
3505d2a
v8.4
MichaIng Apr 30, 2022
62f9267
v8.4
MichaIng Apr 30, 2022
b57ce4e
v8.4
MichaIng Apr 30, 2022
f304650
v8.4
MichaIng Apr 30, 2022
0f8523b
v8.4
MichaIng Apr 30, 2022
b10d3f9
v8.4
MichaIng Apr 30, 2022
39bc1aa
v8.4
MichaIng Apr 30, 2022
063c37d
Beta v8.4.2 (#5466)
MichaIng Apr 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions .build/images/OdroidC1/boot.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
ODROIDC-UBOOT-CONFIG

# HDMI resolution
# - Exactly one line needs to be uncommented!
#setenv m "vga" # 640x480
#setenv m "480p" # 720x480
#setenv m "576p" # 720x576
#setenv m "800x480p60hz" # 800x480
#setenv m "800x600p60hz" # 800x600
#setenv m "1024x600p60hz" # 1024x600
#setenv m "1024x768p60hz" # 1024x768
#setenv m "1360x768p60hz" # 1360x768
#setenv m "1440x900p60hz" # 1440x900
#setenv m "1600x900p60hz" # 1600x900
#setenv m "1680x1050p60hz" # 1680x1050
#setenv m "720p" # 720p 1280x720
#setenv m "800p" # 1280x800
#setenv m "sxga" # 1280x1024
#setenv m "1080i50hz" # 1080I@50Hz
#setenv m "1080p24hz" # 1080P@24Hz
#setenv m "1080p50hz" # 1080P@50Hz
setenv m "1080p" # 1080P@60Hz
#setenv m "1920x1200" # 1920x1200

# HDMI/DVI selection: "hdmi" or "dvi"
# - DVI mode disables HDMI sound
setenv vout "hdmi"

# HDMI BPP Mode: "32", "24" or "12"
setenv m_bpp "32"

# Monitor output: "true" or "false"
# - Controls if HDMI PHY should output anything to the monitor
setenv monitor_onoff "true"

# HDMI Hot Plug detection
# - "0" disables auto-detection and forces HDMI output.
# - "1" enables HDMI detection based on cable connection (default).
#setenv hpd "0"

# CEC (requires hardware modification)
# - "0" disables HDMI CEC (default).
# - "1" enables HDMI CEC.
#setenv cec "0"

# PCM5102 I2S Audio DAC
# - PCM5102 is an I2S Audio DAC addon board for ODROID-C1+
# - Uncomment the line below to __ENABLE__ support for this addon board.
#setenv enabledac "enabledac"

# UHS Card Configuration
# - Uncomment the line below to __DISABLE__ UHS-1 Micro SD support
# - This might break boot for some brand models of cards.
#setenv disableuhs "disableuhs"


# Disable VPU (Video decoding engine, saves RAM!!!)
# - 0 = disabled
# - 1 = enabled (default)
#setenv vpu "1"

# Disable HDMI Output (Again, saves RAM!)
# - 0 = disabled
# - 1 = enabled (default)
#setenv hdmioutput "1"

# Default Console Device Setting
setenv condev "console=ttyAML0,115200n8 console=tty1"

# ODROID-VU7 touchscreen: "false" or "true", defaults to "true"
#setenv disable_vu7 "false"

# CPU Max Frequency: 96 192 312 408 504 600 720 816 1008 1200 1320 1488 1536 1632 1728 or 1824
setenv max_freq "1536"

### DO NOT EDIT ANYTHING BELOW THIS LINE ###

if test "${hpd}" = "0"; then setenv hdmi_hpd "disablehpd=true"; fi
if test "${cec}" = "1"; then setenv hdmi_cec "hdmitx=cecf"; fi
if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi

# Boot arguments
setenv bootargs "root=UUID=0ae78c3b-9579-4a13-8b2d-58ad222f2ca6 rootfstype=ext4 rootwait rw ${condev} loglevel=4 no_console_suspend consoleblank=0 vdaccfg=0xa000 dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} ${enabledac} monitor_onoff=${monitor_onoff} max_freq=${max_freq} ${hid_quirks} ${extraargs}"

# Booting
fatload mmc 0:1 0x20800000 uImage
fatload mmc 0:1 0x22000000 uInitrd
fatload mmc 0:1 0x21800000 dtb/meson8b-odroidc1.dtb

fdt addr 21800000

if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi
if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi

bootm 0x20800000 0x22000000 0x21800000
220 changes: 220 additions & 0 deletions .build/images/OdroidXU4/boot.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
ODROIDXU-UBOOT-CONFIG

# U-Boot parameters
setenv initrd_high "0xffffffff"
setenv fdt_high "0xffffffff"

# MAC address configuration
setenv macaddr "00:1e:06:61:7a:72"

# Kernel command-line parameters
setenv bootrootfs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro console=ttySAC2,115200n8 console=tty1 consoleblank=0 fsck.repair=yes net.ifnames=0"

# HDMI/DVI selection: "hdmi" or "dvi"
# - DVI mode disables HDMI sound
setenv vout "hdmi"

# HDMI Hot Plug detection: "false" or "true"
# - "true" enables HDMI detection based on cable connection.
# - "false" disables auto-detection and forces HDMI output.
setenv HPD "true"

# HDMI CEC: "false" or "true", defaults to "true"
#setenv cecenable "false"

# HDMI resolution
# - Uncomment only ONE line! Leave all commented for automatic selection.
# - Uncomment only the setenv line!
# -----------------------------------------------
# ODROID-VU forced resolution
#setenv videoconfig "video=HDMI-A-1:1280x800@60"
# -----------------------------------------------
# ODROID-VU forced EDID
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
# -----------------------------------------------
# 1920x1200 60hz without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1200_60hz.bin"
# -----------------------------------------------
# 1920x1200 30hz without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1200_30hz.bin"
# -----------------------------------------------
# 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
#setenv videoconfig "video=HDMI-A-1:1920x1080@60"
# -----------------------------------------------
# 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
# -----------------------------------------------
# 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid)
#setenv videoconfig "video=HDMI-A-1:1920x1080@50"
# -----------------------------------------------
# 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid)
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin"
# -----------------------------------------------
# 1920x800 60hz without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x800.bin"
# -----------------------------------------------
# 1792x1344 60hz without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1792x1344.bin"
# -----------------------------------------------
# 1680x1050 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1680x1050.bin"
# -----------------------------------------------
# 1600x1200 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1600x1200.bin"
# -----------------------------------------------
# 1600x900 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1600x900.bin"
# -----------------------------------------------
# 1400x1050 60hz without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1400x1050.bin"
# -----------------------------------------------
# 1440x900 with monitor provided EDID information.
#setenv videoconfig "video=HDMI-A-1:1440x900@60"
# -----------------------------------------------
# 1440x900 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin"
# -----------------------------------------------
# 1366x768 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1366x768.bin"
# -----------------------------------------------
# 1360x768 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1360x768.bin"
# -----------------------------------------------
# 1280x1024 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x1024.bin"
# -----------------------------------------------
# 1280x768 60hz without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x768.bin"
# -----------------------------------------------
# 1280x720 (720P) with monitor provided EDID information. (720p-edid)
#setenv videoconfig "video=HDMI-A-1:1280x720@60"
# -----------------------------------------------
# 1280x720 (720P) without monitor data using generic information (720p-noedid)
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin"
# -----------------------------------------------
# 1152x864 75hz without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1152x864_75hz.bin"
# -----------------------------------------------
# 1024x768 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin"
# -----------------------------------------------
# 1024x600 without monitor data using generic information (ODROID VU7+)
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x600.bin"
# -----------------------------------------------
# 800x600 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin"
# -----------------------------------------------
# 848x480 60hz without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/848x480.bin"
# -----------------------------------------------
# 800x480 without monitor data using generic information (ODROID 7")
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x480.bin"
# -----------------------------------------------
# 720x576 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin"
# -----------------------------------------------
# 720x480 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin"
# -----------------------------------------------
# 640x480 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin"
# -----------------------------------------------
# 480x800 without monitor data using generic information
#setenv videoconfig "drm_kms_helper.edid_firmware=edid/480x800.bin"
# -----------------------------------------------

# ODROID-VU7 touchscreen: "false" or "true", defaults to "true"
#setenv disable_vu7 "false"

# ODROID CloudShell2 TFT LCD and FAN control via I2C bus: "false" or "true", defaults to "false"
#setenv cs2enable "true"

# Device tree overlays
# - See /boot/dtb/overlays for available overlays: defaults to empty string ""
#setenv overlays "i2c0"

# CPU governor
# - DietPi will override this setting to user configured in dietpi-config > Performance Options > CPU governor
setenv governor "performance"

# DDR frequency [MHz]: "933", "825", "728" or "633", defaults to "825"
#setenv ddr_freq "933"

# TMDS data amplitude control.
# - 1LSB corresponds to 20 mVdiff amplitude level
# - tx_amp_lvl : 0 = 760 mVdiff(Min), 31 = 1380 mVdiff(Max)
# - Hardkernel default: hdmi_tx_amp_lvl = 31(1380 mVdiff)
setenv hdmi_tx_amp_lvl "31"

# TMDS data amplitude fine control for each channel
# - 1LSB corresponds to 20 mVdiff amplitude level
# - tx_lvl : 0 = 0 mVdiff(Min), 3 = 60 mVdiff(Max)
# - Hardkernel default: hdmi_tx_lvl_ch0=hdmi_tx_lvl_ch1=hdmi_tx_lvl_ch2 = 3
setenv hdmi_tx_lvl_ch0 "3"
setenv hdmi_tx_lvl_ch1 "3"
setenv hdmi_tx_lvl_ch2 "3"

# TMDS data pre-emphasis level control
# - 1LSB corresponds to -0.45dB emphasis level except for 1
# - tx_emp_lvl : 0 = 0 db(Min), 1 = -0.25 db, 2 = 0.7 db, 15 = -7.45 db(Max)
# - Hardkernel default: hdmi_tx_emp_lvl = 6 (-2.50 db)
setenv hdmi_tx_emp_lvl "6"

# TMDS clock amplitude control
# - 1LSB corresponds to 20 mVdiff amplitude level.
# - clk_amp_lvl : 0 = 790 mVdiff(Min), 31 = 1410 mVdiff(Max)
# - Hardkernel default hdmi_clk_amp_lvl = 31 (1410 mVdiff)
setenv hdmi_clk_amp_lvl "31"

# TMDS data source termination resistor control
# - tx_res : 0 = Source Termination OFF(Min), 1 = 200 ohm, 2 = 300 ohm, 3 = 120 ohm(Max)
# - Hardkernel default hdmi_tx_res = 0 (Source Termination OFF)
setenv hdmi_tx_res "0"

### DO NOT EDIT ANYTHING BELOW THIS LINE ###

setenv hdmi_phy_control "hdmi_tx_amp_lvl=${hdmi_tx_amp_lvl} hdmi_tx_lvl_ch0=${hdmi_tx_lvl_ch0} hdmi_tx_lvl_ch1=${hdmi_tx_lvl_ch1} hdmi_tx_lvl_ch2=${hdmi_tx_lvl_ch2} hdmi_tx_emp_lvl=${hdmi_tx_emp_lvl} hdmi_clk_amp_lvl=${hdmi_clk_amp_lvl} hdmi_tx_res=${hdmi_tx_res} HPD=${HPD} vout=${vout}"

# Load kernel, initrd and dtb in that sequence
ext4load mmc 0:1 0x40008000 /boot/zImage
ext4load mmc 0:1 0x42000000 /boot/uInitrd
if test "${board_name}" = "xu4"; then setenv fdtfile "exynos5422-odroidxu4.dtb"; fi
if test "${board_name}" = "xu3"; then setenv fdtfile "exynos5422-odroidxu3.dtb"; fi
if test "${board_name}" = "xu3l"; then setenv fdtfile "exynos5422-odroidxu3-lite.dtb"; fi
if test "${board_name}" = "hc1"; then setenv fdtfile "exynos5422-odroidhc1.dtb"; fi
ext4load mmc 0:1 0x44000000 /boot/dtb/${fdtfile}

# Set FDT address
fdt addr 0x44000000

if test "${cecenable}" = "false"; then fdt rm /cec@101B0000; fi
if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi

# Add overlays for CloudShell
if test "${cs2enable}" = "true"; then
for csoverlay in i2c0 i2c1 hktft-cs-ogst; do
setenv match "false"
for overlay in ${overlays}; do
if test "${overlay}" = "${csoverlay}"; then setenv match "true"; fi
done
if test "${match}" = "false"; then setenv overlays "${overlays} ${csoverlay}"; fi
done
fi

# Load device tree overlays
if test "x${overlays}" != "x"; then
fdt resize 8192
for overlay in ${overlays}; do
ext4load mmc 0:1 0x60000000 /boot/dtb/overlays/${overlay}.dtbo
fdt apply 0x60000000
done
fi

# Set DDR frequency
if test "x${ddr_freq}" != "x"; then dmc "${ddr_freq}"; fi

# Final boot args (DRM debugging: drm.debug=0xff)
setenv bootargs "${bootrootfs} ${videoconfig} smsc95xx.macaddr=${macaddr} governor=${governor} ${hdmi_phy_control} ${hid_quirks}"

# Boot the board
bootz 0x40008000 0x42000000 0x44000000
File renamed without changes.
18 changes: 12 additions & 6 deletions .build/images/U-Boot/dietpi-initramfs_cleanup
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,24 @@
version="$1"
if [ -z "$version" ]
then
echo "W: initramfs-tools: ${DPKG_MAINTSCRIPT_PACKAGE:-kernel package} did not pass a version number" >&2
exit 0
echo "W: initramfs-tools: ${DPKG_MAINTSCRIPT_PACKAGE:-kernel package} did not pass a version number" >&2
exit 0
fi

# Avoid running multiple times
if [ "$DEB_MAINT_PARAMS" ]
then
eval set -- "$DEB_MAINT_PARAMS"
[ "$1" = 'upgrade' ] || exit 0
eval set -- "$DEB_MAINT_PARAMS"
[ "$1" = 'upgrade' ] || exit 0
fi

# Delete unused initrd images
find /boot -name 'initrd.img-*' -o -name 'uInitrd-*' ! -name "*-$version" -printf 'Removing obsolete file %f\n' -delete
# Delete unused initramfs images
files="$(find /boot -maxdepth 1 -name 'initrd.img-*' -o -name 'uInitrd-*')"
for f in $files
do
[ -d "/lib/modules/${f#*-}" ] || continue
echo "Removing obsolete initramfs image: $f"
rm "$f"
done

exit 0
Loading