ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.45k stars 1.74k forks source link

Can not boot 6.1 kernel on x96mini #1363

Closed Ilya-cyber-cell closed 1 year ago

Ilya-cyber-cell commented 1 year ago

Device Information

Armbian Version

Describe the bug I write Armbian_23.05.0_amlogic_s905w_jammy_6.1.26_server_2023.04.27.img.gz on sdcard, but tv box not run. Boot log

amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet
gpio: pin GPIOAO_2 (gpio 102) value is 1
saradc - saradc sub-system

Usage:
saradc saradc open <channel>    - open a SARADC channel
saradc close    - close the SARADC
saradc getval   - get the value in current channel
saradc test     - test the SARADC by channel-7
saradc get_in_range <min> <max> - return 0 if current value in the range of current channel

InUsbBurn
noSof
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0 
card in
init_part() 278: PART_TYPE_DOS
[mmc_init] mmc init success
Device: SDIO Port B
Manufacturer ID: 12
OEM: 3456
Name: SMI   
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.4 GiB
mmc clock: 40000000
Bus Width: 4-bit
reading s905_autoscript
1654 bytes read in 8 ms (201.2 KiB/s)
## Executing script at 01020000
start amlogic old u-boot
## Error: "bootfromsd" not defined
reading boot_android
** Unable to read file boot_android **
** Bad device usb 0 **
reading u-boot.ext
650183 bytes read in 59 ms (10.5 MiB/s)
## Starting application at 0x01000000 ...
[BL31]: tee size: 0
[BL31]: tee size: 0

5.15 kernel work fine.

I tried to build the kernel with a patch from #859, but it did not help

Ilya-cyber-cell commented 1 year ago

If i put 6.1 kernel with patch from #859 on image Armbian_23.05.0_amlogic_s905w_jammy_5.15.107_server_2023.04.14.img.gz system boot normal.

ophub commented 1 year ago

armbian-update -u dev -k 6.1.26

Both 6.1.y and 5.10.y in dev have this offsets patch