Nick A Posted March 30 Posted March 30 (edited) @Mohammad Adel Here are the steps to make a secure boot image. In your case you want to modify the X98H defconfig. git clone https://github.com/NickAlilovic/build.git --branch v20250306 cd build pico patch/u-boot/u-boot-h616/171-add-x98h-defconfig.patch You need to add this line to the bottom. "+CONFIG_SPL_IMAGE_TYPE_SUNXI_TOC0=y" and change "@@ -0,0 +1,31 @@" to @@ -0,0 +1,32 @@. From 25669b44bab8ffdc4d07e140226c6385a9d13950 Mon Sep 17 00:00:00 2001 From: Nick Alilovic <nickalilovic@gmail.com> Date: Tue, 11 Mar 2025 22:09:15 -0400 Subject: [PATCH] add x98h defconfig add x98h defconfig --- configs/x98h_defconfig | 31 +++ .../src/arm64/allwinner/sun50i-h618-x98h.dts | 223 ++++++++++++++++++ 2 files changed, 254 insertions(+) create mode 100644 configs/x98h_defconfig create mode 100644 dts/upstream/src/arm64/allwinner/sun50i-h618-x98h.dts diff --git a/configs/x98h_defconfig b/configs/x98h_defconfig new file mode 100644 index 0000000000..b87498cd10 --- /dev/null +++ b/configs/x98h_defconfig @@ -0,0 +1,32 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_DEFAULT_DEVICE_TREE="allwinner/sun50i-h618-x98h" +CONFIG_SPL=y +CONFIG_DRAM_SUN50I_H616_DX_ODT=0x03030303 +CONFIG_DRAM_SUN50I_H616_DX_DRI=0x0e0e0e0e +CONFIG_DRAM_SUN50I_H616_CA_DRI=0x1f12 +CONFIG_DRAM_SUN50I_H616_TPR0=0xc0001002 +CONFIG_DRAM_SUN50I_H616_TPR10=0x2f1107 +CONFIG_DRAM_SUN50I_H616_TPR11=0xddddcccc +CONFIG_DRAM_SUN50I_H616_TPR12=0xeddc7665 +CONFIG_MACH_SUN50I_H616=y +CONFIG_SUNXI_DRAM_H616_DDR3_1333=y +CONFIG_DRAM_CLK=648 +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +CONFIG_R_I2C_ENABLE=y +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_SPL_I2C=y +CONFIG_SPL_I2C_SUPPORT=y +CONFIG_SPL_SYS_I2C_LEGACY=y +CONFIG_SYS_I2C_MVTWSI=y +CONFIG_SYS_I2C_SLAVE=0x7f +CONFIG_SYS_I2C_SPEED=400000 +CONFIG_PHY_REALTEK=y +CONFIG_SUN8I_EMAC=y +CONFIG_I2C3_ENABLE=y +CONFIG_SUPPORT_EMMC_BOOT=y +CONFIG_AXP313_POWER=y +CONFIG_AXP_DCDC3_VOLT=1360 +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_OHCI_HCD=y +CONFIG_SPL_IMAGE_TYPE_SUNXI_TOC0=y Then create the secure boot patch. pico patch/u-boot/u-boot-h616/secure-boot.patch diff --git a/root_key.pem b/root_key.pem new file mode 100644 index 0000000000..892a10ef90 --- /dev/null +++ b/root_key.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCWZ7G39E+RCi+9 +B48yiD4GxnfqNzvlXOxAd+GHQuKbgynXZd5pIuNHt3ewhZTHZkdHxuO9liqX9MmU +8OhiG+Skww2LzHPPi/eLeN4vCt/waXkjFrkblkhNzB3c6MejKdiz9sfw8oeOFX1S +teP/MJBoRaj6Hexj5g/oCspU+KFfv0cOBcWuq4vZwPJ6+U44IBi7EGleShGHNhBI +xQEyvNaDLWoDCPGLrjRM0DrIbUpzEntk9KJ0z+3Th8O/FtvlW21atolIVr5F96Pw +EEv3CDUHrY+IvK0z+IwNhnYo99kMPi5djB6vviz4In530JQ+OdPxhi4cQY3Yw9wx +Sm8EFaRRAgMBAAECggEAEaEcZ+k7VU8aGuBStNPa31zui9XHD8KlT4YtuXbJzHwi +kKSYXf7woISdAyQZNQkkREHICn4aRn7zDOHy/yLxWS2ivhbsITDxBlhXxLBT4OBg +ClCcyGLEXVgWTQE8+z9Jrwh3VaL76BfVPXdj/tKwroQxwwV0Yp5CEYsI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WcQZELs0uFp +-----END PRIVATE KEY----- -- 2.34.1 ./compile.sh choose "Do not change kernel configuration" choose "Show CSC/WIP/EOS/TVB" choose "I understand and agree" choose "X98H" choose "edge" rest is up to you. Your image should be in output/images directory. Edited March 30 by Nick A
Mohammad Adel Posted March 30 Author Posted March 30 (edited) X98H Pro FIRMWARE OFICIAL secure image Edited March 30 by Mohammad Adel
Werner Posted March 30 Posted March 30 We don't deal with other OS than Armbian. If you need Android, I suggest to ask at xda developers or similar place.
Mohammad Adel Posted March 30 Author Posted March 30 i need rom work linux on x98h pro with secure image
Mohammad Adel Posted March 31 Author Posted March 31 I need a Linux system that runs on an x98h device Anything that does not work is not booted by the device
Nick A Posted March 31 Posted March 31 @Mohammad Adel There are differences like Ethernet and maybe WiFi. Lets see if the X98H boots first.
Mohammad Adel Posted March 31 Author Posted March 31 (edited) X98H is booted Armbian-unofficial_25.05.0-trunk_X98h_bookworm_edge_6.12.11_server.img.xz https://github.com/NickAlilovic/build Edited March 31 by Mohammad Adel
Nick A Posted March 31 Posted March 31 (edited) @Mohammad Adel can you find the wifi chip on the board? Also Ethernet. Edited April 1 by Nick A
Mohammad Adel Posted April 1 Author Posted April 1 How do I display information from a Linux server Can you run the OpenWRT system x98h st_mac100
Nick A Posted April 1 Posted April 1 (edited) @Mohammad Adel I need to know the physical WiFi and Ethernet chip model number on your board. If you can take a high resolution picture or just tell me the model number. https://openwrt.org/toh/xunlong/orange_pi_zero_3 is the closest model. But you need to edit the device tree. (dts) and u-boot defconfig. Edited April 1 by Nick A
Mohammad Adel Posted April 1 Author Posted April 1 https://drive.google.com/file/d/1DF7qvYoCEwVHuPMI3v9M9vvotq5hwlca/view?usp=sharing
Mohammad Adel Posted April 1 Author Posted April 1 https://drive.google.com/file/d/1--FlGP4JIjmdrjR9El9vB_rbIbIKM0IM/view?usp=sharing
Nick A Posted April 1 Posted April 1 @Mohammad Adel AW869A and AIC8800 are the same WiFI chips. You should have WiFi working.
Werner Posted April 2 Posted April 2 1 hour ago, Mohammad Adel said: OpenWrt We don't deal with OpenWRT. I suggest to ask at some place where OpenWRT is distributed/supported.
Mohammad Adel Posted April 2 Author Posted April 2 Is it possible to make a Bodhi Linux version that works on x98h
Recommended Posts