Jump to content

Armbian Buster current (with Linux 5.3.x) on the Rock Pi 4


Recommended Posts

Posted

Hi,

 

Tested the current build (Armbian_19.11.3_Rockpi-4b_buster_current_5.3.11_desktop.7z) on a Rock Pi 4 v1.3.

Working well so far the past couple of hours. Its an amazing feeling to be able to run the mainline kernel with so little issues.

 

Some minor things:

  1. The Red Led keeps on blinking with this build. Earlier it only blinked if there was error while booting. New to this board, so this maybe incorrect. I booted up Radxa image and there also red light was blinking.
  2. Sound via 3.5 mm jack not working. Inserted earphone, no output. Sound via HDMI works.

 

Thanks for your work. :)

 

Edit-

System info:

aaditya@rockpi:~$ inxi -Fxz
System:    Host: rockpi Kernel: 5.3.11-rockchip64 aarch64 bits: 64 compiler: gcc v: 8.3.0 Desktop: Xfce 4.12.4 
           Distro: Armbian GNU/Linux 10 (buster) 
Machine:   Type: ARM Device System: Radxa ROCK Pi 4 details: N/A serial: <filter> 
CPU:       Topology: 6-Core (2-Die) model: N/A variant-1: cortex-a53 variant-2: cortex-a72 bits: 64 type: MCP MCM arch: ARMv8 
           rev: 4 
           features: Use -f option to see features bogomips: 0 
           Speed: 1800 MHz min/max: 408/1512:2016 MHz Core speeds (MHz): 1: 408 2: 408 3: 408 4: 408 5: 1800 6: 1800 
Graphics:  Device-1: display-subsystem driver: rockchip_drm v: N/A bus ID: N/A 
           Device-2: rk3399-dw-hdmi driver: dwhdmi_rockchip v: N/A bus ID: N/A 
           Device-3: rk3399-mali driver: panfrost v: kernel bus ID: N/A 
           Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev resolution: 1920x1080~60Hz 
           OpenGL: renderer: llvmpipe (LLVM 7.0 128 bits) v: 3.3 Mesa 18.3.6 direct render: Yes 
Audio:     Device-1: rk3399-dw-hdmi driver: dwhdmi_rockchip bus ID: N/A 
           Device-2: simple-audio-card driver: asoc_simple_card bus ID: N/A 
           Sound Server: ALSA v: k5.3.11-rockchip64 
Network:   Device-1: rk3399-gmac driver: rk_gmac_dwmac v: N/A port: N/A bus ID: N/A 
           IF: eth0 state: down mac: <filter> 
           IF-ID-1: dummy0 state: down mac: <filter> 
           IF-ID-2: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 44.52 GiB used: 15.60 GiB (35.1%) 
           ID-1: /dev/mmcblk1 model: EB1QT size: 29.81 GiB 
           ID-2: /dev/sda type: USB vendor: Transcend model: JetFlash Transcend 16GB size: 14.70 GiB 
Partition: ID-1: / size: 28.98 GiB used: 3.16 GiB (10.9%) fs: ext4 dev: /dev/mmcblk1p1 
           ID-2: /var/log size: 48.4 MiB used: 4.2 MiB (8.6%) fs: ext4 dev: /dev/zram0 
Sensors:   Missing: Required tool sensors not installed. Check --recommends 
Info:      Processes: 183 Uptime: 6m Memory: 3.78 GiB used: 534.1 MiB (13.8%) Init: systemd Compilers: gcc: 8.3.0 Shell: bash 
           v: 5.0.3 inxi: 3.0.32 

dmesg attached.

dmesg-armbian-buster-current-rockpi4.txt

Posted
1 hour ago, mo123 said:

Check if this patch is missing from the mainline kernel perhaps, it's responsible for the headphone jack.

https://github.com/radxa/kernel/commit/cc4fef39f29bda97ba1d9129d897e77d08ccf096

Hi mo123,

 

Thanks for the comment. Indeed, in the mainline kernel the above code is not present.

There are some other changes too, related to i2s0 in the Radxa kernel which are not present in mainline.

 

Radxa (4.4): https://github.com/radxa/kernel/blob/cc4fef39f29bda97ba1d9129d897e77d08ccf096/arch/arm64/boot/dts/rockchip/rockpi-4b-linux.dts

Mainline(5.3): https://github.com/torvalds/linux/blob/549dcdafe793000fbe38914a1f231d3c6034a6ec/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts

 

 

Posted

Hello,

Can somebody help me to boot Armbian with mainline kernel on Rock Pi 4B v1.3?

I tried several Armbian images but noone boots.
The Radxa Linux images  is working without problem.


So downloaded  Armbian_19.11.3_Rockpi-4b_buster_current_5.3.11_desktop.7z and extracted .img.
Then using dd I write it on SD card (I use USB cardreader so device is /dev/sdd).

dd if=Armbian_19.11.3_Rockpi-4b_buster_current_5.3.11_desktop.img of=/dev/sdd bs=1M

sync

sync

 

I have connected serial console and this is last lines of output:

- cut -

Boot1: 2018-04-08, version: 1.12
CPUId = 0x0
ChipType = 0x10, 219
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=29600MB
FwPartOffset=2000 , 100000
mmc0:cmd5,32
SdmmcInit=0 0
BootCapSize=0
UserCapSize=30528MB
FwPartOffset=2000 , 0
StorageInit ok = 183254
LoadTrustBL
Addr:0x4000 No find trust.img!
LoadTrustBL error:-3
LoadTrustBL
No find bl30.bin
Load uboot, ReadLba = 2000
hdr 00000000031907e0 + 0x0:0x50,0x41,0x52,0x4d,0x50,0x01,0x00,0x00,0x46,0x49,0x52,0x4d,0x57,0x41,0x52,0x45,

Load OK, addr=0x200000, size=0xa6f2c
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):65aa5ce
NOTICE:  BL31: Built : 10:47:37, Jun 19 2018
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    plat_rockchip_pmu_init(1151): pd status 3e
INFO:    BL31: Initializing runtime services
INFO:    BL31: Initializing BL32
INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-170-gc4654a6 #16 Wed May 30 08:54:30 UTC 2018 aarch64)

INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2

INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2014.10-RK3399-06-03326-g0212c98-dirty (Nov 03 2018 - 14:00:25)

CPU: rk3399
cpu version = 0
CPU's clock information:
    aplll = 816000000HZ
    apllb = 24000000HZ
    gpll = 800000000HZ
               aclk_periph_h = 133333333HZ, hclk_periph_h = 66666666HZ, pclk_periph_h = 33333333HZ
               aclk_periph_l0 = 266666666HZ, hclk_periph_l0 = 88888888HZ, pclk_periph_l0 = 44444444HZ
               hclk_periph_l1 = 100000000HZ, pclk_periph_l1 = 50000000HZ
    cpll = 800000000HZ
    dpll = 800000000HZ
    vpll = 24000000HZ
    npll = 24000000HZ
    ppll = 676000000HZ
Board:  Rockchip platform Board
Uboot as second level loader
DRAM:  Found dram banks: 1
Adding bank:0000000000200000(00000000ffe00000)
Reserve memory for trust os.
dram reserve bank: base = 0x08400000, size = 0x01e00000
128 MiB
SdmmcInit = 0 0
SDCard Update.
storage init OK!
Using default environment

GetParam
W: Invalid Parameter's tag (0x00000000)!
Invalid parameter
No pmic detect.
CPU's clock information:
    aplll = 816000000HZ
    apllb = 24000000HZ
    gpll = 800000000HZ
               aclk_periph_h = 133333333HZ, hclk_periph_h = 66666666HZ, pclk_periph_h = 33333333HZ
               aclk_periph_l0 = 266666666HZ, hclk_periph_l0 = 88888888HZ, pclk_periph_l0 = 44444444HZ
               hclk_periph_l1 = 100000000HZ, pclk_periph_l1 = 50000000HZ
    cpll = 800000000HZ
    dpll = 800000000HZ
    vpll = 24000000HZ
    npll = 24000000HZ
    ppll = 676000000HZ
misc partition not found!
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 0000-00-00#0.00
empty serial no.
normal boot.
no fuel gauge found
no fuel gauge found
read logo on state from dts [0]
no fuel gauge found
'recovery' does not seem to be a partition nor an address
Unable to boot:recovery
try to start backup
'backup' does not seem to be a partition nor an address
Unable to boot:backup
try to start rockusb
- cut -

 

Kernel not even started.

One thing: I have eMMC module installed but it empty now, may be its important?
What I can do to boot it?

Posted
7 hours ago, serge.lenz said:

may be its important?


You are not booting Armbian but your "empty" eMMC. Remove it for now.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines