Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[408] - temp h3 u-boot setting causing mainline to not have SMP enabled

Featured Replies

  • Author

u-boot defaults to non-sec mode in `sources/u-boot/v2016.05/u-boot.cfg`  See SUNXI PSCI reference

../sources/u-boot/v2016.05/u-boot.cfg:292:#define CONFIG_ARMV7_NONSEC 1

armbian's build in `lib/config/sources/sunxi_common.inc` is forcing H3 into sec mode so that legacy works correctly.

install_boot_script()
{
        cp $SRC/lib/config/bootscripts/boot-sunxi.cmd $CACHEDIR/sdcard/boot/boot.cmd

        # orangepi h3 temp exceptions
        [[ $LINUXFAMILY == sun8i ]] && sed -i -e '1s/^/gpio set PL10\ngpio set PG11\nsetenv machid 1029\nsetenv bootm_boot_mode sec\n/' \
                -e 's/\ disp.screen0_output_mode=1920x1080p60//' -e 's/\ hdmi.audio=EDID:0//' $CACHEDIR/sdcard/boot/boot.cmd
}
  • Author

Is this have been properly tested ?

(because last time I've try "nosec" more than a week ago, it was crashing during boot. I don't remember on which Orange flavours I was trying it)

 

I tested pretty thoroughly with my Opi One.  Did several fresh builds and switched between legacy and dev to make sure nothing was impacted.

 

 

I'll try to test on me @e later this week.    Maybe give it another shot and let me know?

  • Author

Oppps.  I was holding out.. I forgot I made a u-boot patch to fix the frequency part.  Try duplicating for the lite. You can ignore the bootm_boot part it doens't actually do anything..   I'll try to clean things up and submit a proper patch

diff --git a/configs/orangepi_one_defconfig b/configs/orangepi_one_defconfig
index de6e9c8..4dd59a8 100644
--- a/configs/orangepi_one_defconfig
+++ b/configs/orangepi_one_defconfig
@@ -23,3 +23,7 @@ CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_USB_EHCI_HCD=y
+##lj Clock freq defaults are 10080000 inherited from OPI PC default, kernel DTS doesn't have that speed, trying valid ones from kernel dts
+CONFIG_SYS_CLK_FREQ=1200000000
+#CONFIG_SYS_CLK_FREQ=816000000
+bootm_boot_mode=nonsec

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.