File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,28 @@ function pre_config_uboot_target__orangepi5_patch_uboot_bootconfig_hack_for_sata
101
101
fi
102
102
}
103
103
104
+
105
+ function post_config_uboot_target__orangepi5_keep_sata_bootconfig() {
106
+ if [[ $BRANCH == "vendor" ]]; then
107
+ return
108
+ fi
109
+
110
+ display_alert "u-boot for ${BOARD}" "u-boot: hack bootconfig for sata spi image" "info"
111
+
112
+ if [[ $BOOTCONFIG == "orangepi-5-sata-rk3588s_defconfig" ]]; then
113
+ cp .config ${uboottempdir}/.config.sata
114
+ fi
115
+ }
116
+
117
+ function pre_package_uboot_image__orangepi5_copy_sataconfig_to_pacage() {
118
+ if [[ $BRANCH == "vendor" ]]; then
119
+ return
120
+ fi
121
+
122
+ run_host_command_logged cp ${uboottempdir}/.config.sata "$uboottempdir/usr/lib/u-boot/orangepi-5-sata-rk3588s_defconfig"
123
+ run_host_command_logged rm ${uboottempdir}/.config.sata
124
+ }
125
+
104
126
function post_family_tweaks_bsp__orangepi5_copy_usb2_service() {
105
127
if [[ $BRANCH == "edge" || $BRANCH == "current" ]]; then
106
128
return
You can’t perform that action at this time.
0 commit comments