Jump to content

Armbian for Amlogic S9xxx kernel 5.x


balbes150

Recommended Posts

52 minutes ago, jeanrhum said:

My gt1 ultimate is currently working as my home server. If I remember well, I'm using default dtb (vim2) on an armbian 5.70 image with kernel 4.19. I can't check know, but I can look at the end of the week.

Thank you, ill try..i have normal gt1 not ultimate but may it works

Link to comment
Share on other sites

54 minutes ago, jeanrhum said:

My gt1 ultimate is currently working as my home server. If I remember well, I'm using default dtb (vim2) on an armbian 5.70 image with kernel 4.19. I can't check know, but I can look at the end of the week.

Where i can find older version? On discussion the latest i 5.76. Is there another link?

Link to comment
Share on other sites

hello,

i try to find my wifi module. i see that my wifi module is rtl8188fu

i tried to compile it. but result none. it errors. 

is there module for this? i tried to compile from https://github.com/kelebek333/rtl8188fu

 

i compile with kernel source, the compile is no error. but the module load with err.  any clue?

Link to comment
Share on other sites

On 4/6/2019 at 2:32 PM, balbes150 said:

Good news. :)

Build the first version of Armbian for TV box x96 max (S905X2).

While not working, sound via HDMI, WiFi. Test images on the site in the catalog S905X2.

  Hello I received my new x96 Max tv box yesterday

It runs android 9

When I update with am...zip for enable bootting from sdcard( correct?) the update process after reboot says "error verifying...." "footer error...."

The file arm****.zip is in the sdcard and the update procesa can read (update from EXT in the menu can retry with same error)

What I'm doing wrong?

 

more info: the x96 Max that I have is a 4G Memory /32G disk model.... it has a u311 (¿board model?) instead of u211 i read about in other threads (or in this thread)

 

Thanks in avance

Ricardo 

Pd:I tryed with a lot of versions of armbian until 5.91 with same result

 

Edited by X96Maxer
adding more info to the question
Link to comment
Share on other sites

6 hours ago, lifeform said:

hello,

i try to find my wifi module. i see that my wifi module is rtl8188fu

i tried to compile it. but result none. it errors. 

is there module for this? i tried to compile from https://github.com/kelebek333/rtl8188fu

 

i compile with kernel source, the compile is no error. but the module load with err.  any clue?

Can you post the console output from trying to load the module?

Link to comment
Share on other sites

48 minutes ago, Reddwarf said:

Can you post the console output from trying to load the module?

sudo modprobe rtl8188fu

Message from syslogd@localhost at Aug  8 06:29:03 ...
 kernel:[ 3338.782976] Internal error: Oops: 96000004 [#1] PREEMPT SMP

Message from syslogd@localhost at Aug  8 06:29:03 ...
 kernel:[ 3338.826440] Process modprobe (pid: 15017, stack limit = 0x0000000013e8f2d1)

Message from syslogd@localhost at Aug  8 06:29:03 ...

 

 

i compiled the driver with this way, what i missed?

apt install build-essential libncurses-dev bison flex libssl-dev libelf-dev
git clone https://github.com/150balbes/Amlogic_s905-kernel.git
cd Amlogic_s905-kernel
make oldconfig
make prepare
make modules_prepare
touch Module.symvers

sudo nano include/generated/utsrelease.h 
# i change -> define UTS_RELEASE "5.1.15-aml-s905"
# my armbian kernel version
cd ..
git clone https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git
cd wireless-regdb && cp regulatory.db regulatory.db.p7s /lib/firmware/
cd ..

git clone https://github.com/kelebek333/rtl8188fu.git
cd rtl8188fu

nano Makefile
EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types
EXTRA_CFLAGS += -Wno-incompatible-pointer-types
EXTRA_CFLAGS += -Wno-vla
EXTRA_CFLAGS += -Wno-error=date-time
#done


make ARCH=arm64 KSRC=../Amlogic_s905-kernel CONFIG_POWER_SAVING=n
sudo install -p -m 644 rtl8188fu.ko  /lib/modules/5.1.15-aml-s905/kernel/drivers/net/wireless/
/sbin/depmod -a
sudo modprobe rtl8188fu

 

 

Link to comment
Share on other sites

Hi,

 

I have a question and a bug.

 

Bug:

 

My box freezes from time to time (inresponsive in shell and ssh) and I have to pull the cord and plug it back in. Looking at the kern.log seems to be related to the network card

 

Logs:

 

Aug  7 15:59:43 depressedserver kernel: [291117.902900] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  7 15:59:46 depressedserver kernel: [291121.231786] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 09:36:52 depressedserver kernel: [440950.993904] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 09:37:03 depressedserver kernel: [440961.372724] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:06:38 depressedserver kernel: [442736.464532] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:06:41 depressedserver kernel: [442739.685384] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:44:06 depressedserver kernel: [444984.416676] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:44:11 depressedserver kernel: [444989.714863] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:44:14 depressedserver kernel: [444992.550096] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:44:17 depressedserver kernel: [444995.656499] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:44:21 depressedserver kernel: [444999.382815] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:44:24 depressedserver kernel: [445002.619235] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:44:25 depressedserver kernel: [445003.568690] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:44:34 depressedserver kernel: [445012.350525] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:44:35 depressedserver kernel: [445013.538966] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:47:38 depressedserver kernel: [445196.862583] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:47:39 depressedserver kernel: [445197.459554] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:48:17 depressedserver kernel: [445235.831019] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:48:18 depressedserver kernel: [445236.780991] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:48:21 depressedserver kernel: [445239.768175] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:48:22 depressedserver kernel: [445240.252056] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:48:49 depressedserver kernel: [445267.346277] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:48:53 depressedserver kernel: [445271.798610] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:49:47 depressedserver kernel: [445325.230846] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:50:05 depressedserver kernel: [445343.454699] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:50:09 depressedserver kernel: [445348.161567] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:50:14 depressedserver kernel: [445353.075070] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:50:17 depressedserver kernel: [445356.087065] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:50:27 depressedserver kernel: [445365.419222] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:50:30 depressedserver kernel: [445368.687275] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:50:32 depressedserver kernel: [445370.355931] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:51:24 depressedserver kernel: [445422.967162] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:51:26 depressedserver kernel: [445425.211627] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:51:40 depressedserver kernel: [445438.394545] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:52:07 depressedserver kernel: [445465.480309] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:52:10 depressedserver kernel: [445468.467317] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:52:20 depressedserver kernel: [445478.816203] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:52:23 depressedserver kernel: [445482.048747] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:52:33 depressedserver kernel: [445491.913395] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:52:36 depressedserver kernel: [445494.853179] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:53:48 depressedserver kernel: [445566.390194] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:53:51 depressedserver kernel: [445569.611039] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:54:25 depressedserver kernel: [445603.461892] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:54:46 depressedserver kernel: [445625.206657] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:54:58 depressedserver kernel: [445636.623157] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:55:01 depressedserver kernel: [445640.092660] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:55:03 depressedserver kernel: [445642.115732] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:55:09 depressedserver kernel: [445647.875430] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:55:14 depressedserver kernel: [445652.383656] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:55:17 depressedserver kernel: [445655.494537] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:55:26 depressedserver kernel: [445664.906042] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:55:29 depressedserver kernel: [445668.160433] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:55:33 depressedserver kernel: [445671.890039] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:55:36 depressedserver kernel: [445674.872894] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:55:38 depressedserver kernel: [445676.728815] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:55:41 depressedserver kernel: [445679.697975] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:55:43 depressedserver kernel: [445681.435142] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:55:46 depressedserver kernel: [445684.496248] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:55:46 depressedserver kernel: [445684.893616] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:55:49 depressedserver kernel: [445688.204479] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:55:52 depressedserver kernel: [445690.384325] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:55:58 depressedserver kernel: [445696.463833] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:56:05 depressedserver kernel: [445703.460615] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:56:08 depressedserver kernel: [445706.803265] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:56:14 depressedserver kernel: [445712.438738] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:56:17 depressedserver kernel: [445716.039141] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:56:20 depressedserver kernel: [445718.678079] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:56:40 depressedserver kernel: [445739.033434] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:56:53 depressedserver kernel: [445751.560417] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:57:13 depressedserver kernel: [445771.444817] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:57:13 depressedserver kernel: [445771.819672] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:57:24 depressedserver kernel: [445782.495130] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:57:24 depressedserver kernel: [445783.184560] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:57:51 depressedserver kernel: [445809.753017] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Aug  9 10:57:52 depressedserver kernel: [445810.826490] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Aug  9 10:57:57 depressedserver kernel: [445815.303593] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off

Version: 5.91 from July 15th

Box: H96PRO +

 

Question: How can I upgrade between images versions without having to reinstall all the software that I have installed?

Link to comment
Share on other sites

Hi all,

first of all I would like to thank anyone is contributing, I had an in depth look on this thread and I was able to bring to life my mecool KM9 device.

 

Hereunder a short summary that will save some headache for mates ;)

 

  1. My box came with Android 9 and there were no possibilities to enable multi-boot, in order to start playing with it I decided to roll back Android to 8.1; after this step I was just able to boot from external devices, even if it looks that I can't access the box while running on android, probably due to miss behaving BT interface (hanged on remote pairing)
  2. Flashed the image from Balbe150 repo (Linux aml 5.2.1-aml-g12 #5.91 SMP PREEMPT Fri Aug 2 15:24:33 MSK 2019 aarch64 GNU/Linux). Using the dtb file meson-g12a-sei510.dtb I was able to start working on my KM9 having a working ethernet interface.

Currently I'm looking on how to enable BT and WiFi interface, that looks based on AP6255 IC.

Is there someone that is working on this topic too ?

Link to comment
Share on other sites

@balbes150

 

Thanks for all your work, the images you provide dont have headers (or yes?)

 

I see in the forum some people cant enable wifi or bluetooth in his box, a posible solution is compile our own drivers, but without headers its not posible.

 

If I build my self ubuntu, What is more simple?

1.- compile ubuntu-armbian with headers

2.- compile only armbian drivers

3.- compile ubuntu-armbian with drivers I need

 

I need the drivers for WiFi USB dongle (Tp-Link), I have the sources but cant compile without headers.

 

Thanks a lot for your advices

Edited by Doroteo
correct and add more info
Link to comment
Share on other sites

@balbes150

Hi and thanks for Your work.

Please which images without desktop have working wifi? I have A95x with S905 2/16GB (really not S905X) and with meson-gxbb-nexbox-a95x.dtb is working. But modprobe dhd, wifi_dummy etc almost says not found in the directory. Identification from android is BCM4335. I have copied DTB.img from android, but it is not working with Armbian Disco. Please is any way how to enable wifi?

Thank You

Link to comment
Share on other sites

51 minutes ago, Jery said:

@balbes150

Hi and thanks for Your work.

Please which images without desktop have working wifi? I have A95x with S905 2/16GB (really not S905X) and with meson-gxbb-nexbox-a95x.dtb is working. But modprobe dhd, wifi_dummy etc almost says not found in the directory. Identification from android is BCM4335. I have copied DTB.img from android, but it is not working with Armbian Disco. Please is any way how to enable wifi?

Thank You

 

Have a look at this post.

It may be the firmware between android and Linux (/lib/firmware/brcm) is different and android may work better. You'll have to do some work in android working out which one is in use and which files (usually at least 2 files) and if they differ.

Don't mix DTB's between distros (Android to Linux or Linux to Linux with a bit less caution).

Link to comment
Share on other sites

1 hour ago, Jery said:

But modprobe dhd, wifi_dummy etc almost says not found in the directory.

Those driver are from Legacy ...

Mainline is using "brcmfmac", and no needs for "modprobe", it is the DT that will load it if DTB is properly done.

Check "dmesg | grep -i mmc", then "dmesg | grep -i sdio" and finally "dmesg | grep -i brcm" and report back those logs ...

Link to comment
Share on other sites

Hi, here is logs.

root@aml:~# dmesg | grep -i mmc
[    2.775643] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[    3.007723] mmc0: new HS200 MMC card at address 0001
[    3.008767] mmcblk0: mmc0:0001 NCard  14.5 GiB
[    3.012294] mmcblk0boot0: mmc0:0001 NCard  partition 1 4.00 MiB
[    3.018144] mmcblk0boot1: mmc0:0001 NCard  partition 2 4.00 MiB
[    3.023397] mmcblk0rpmb: mmc0:0001 NCard  partition 3 4.00 MiB, chardev (241:                    0)
[    3.472070] meson-gx-mmc d0070000.mmc: allocated mmc-pwrseq
[    3.503587] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    3.538682] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    3.542690] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    3.551184] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.587637] mmc2: new high speed SDHC card at address aaaa
[    3.589965] mmcblk2: mmc2:aaaa SC32G 29.7 GiB
[    3.595310]  mmcblk2: p1 p2
[    3.643104] mmc1: new high speed SDIO card at address 0001
[    4.920761] EXT4-fs (mmcblk2p2): mounted filesystem with writeback data mode.                     Opts: data=writeback
[    7.012116] EXT4-fs (mmcblk2p2): re-mounted. Opts: commit=600,errors=remount-                    ro

 

root@aml:~# dmesg | grep -i sdio
[    3.643104] mmc1: new high speed SDIO card at address 0001

 

The last one do nothing.

 

 

Link to comment
Share on other sites

First of all, great job @balbes150

 

Device: S905D 1GB RAM AP6255 WIFI + DVB T/S

I built with your tools and kernels an image with kernel 3.14, and kernel 5.2. Excellent work mate.

 

Mali GPU was not detected but now, using https://github.com/superna9999/meson_gx_mali_450/tree/DX910-SW-99002-r9p0-01rel0_meson_gx is ok

 

I've found https://github.com/Elyotna/linux/tree/5.2/v4l2-m2m-pr who is doing a great job developing v4l2 driver.

Using lsmod, I can see v4l2_m2m, meson_vdec... but when I use mpv to play any video is using CPU until 100%.

 

I've read a lot information about video decoding in Amlogic SoC on Linux, but seeing Maxime on https://embedded-recipes.org/2018/talk/upstream-multimedia-on-amlogic-socs-from-fiction-to-reality/ , I think it is possible hw acceleration, right?

 

Should I change kernel config? Do I forget anything? Any advice?

 

Thank you in advance.

 

Link to comment
Share on other sites

6 hours ago, martinayotte said:

Maybe there is no BRCM at all in the DTB that you currently using ...

Since you got an SDIO in log, maybe it is some other kind of WiFi that is present.

Inside on chip is "KM3213098 XJ-A", in android is build number "NEXBOX-A95X-BCM4335-201607151134" and here is extracted dts from android, but I dont know how to convert it for armbian.

devicetree.dts

Link to comment
Share on other sites

Hi all,

 

I installed latest image on my X96Max. I have issue with sound. After first time, sound works correctly with HDMI. But today sound does not work. I only see dummy device on output device list.

 

Is any suggestion?

Thank you very much!

Link to comment
Share on other sites

Feedback - VIM3
HDMI problems with Armbian_5.94_Aml-g12_Debian_buster_default_5.2.1_20190821.img as the screen is white and blurry...

Armbian_5.94_Aml-g12_Debian_buster_dev_5.3.0-rc5_20190823.img on the other hand is working good so far. The only issue I've encountered is the amount of RAM available, which is 3354MB - far from ≈3700MB which is normal for 4GB RAM. 

 

VIM3_Ubuntu-server-bionic_Linux-4.9_arm64_EMMC_V20190813 is showing a little more with 3451MB of available RAM, but it's still much lower than it should be (≈3700MB). What's your take on this @balbes150? I can see from Khadas uboot (Github) that there have been some RAM allocation commits for uboot, but it seems that it only increases available RAM with around 128 MB.

Update 1:
I had no luck with LibreELEC regarding increasing RAM, but installing CoreELEC and upgrading bootloader fixed this as I now have 3696MB of available RAM :)

Update 2:
Obviously install to eMMC is not working with CE's custom bootloader, so installing VIM3_Ubuntu-server-bionic_Linux-4.9_arm64_EMMC_V20190813 to eMMC, Armbian_5.94_Aml-g12_Debian_buster_dev_5.3.0-rc5_20190823.img to mSD and running install to eMMC still gives 3354MB of available RAM... So using Armbian instead of VIM3_Ubuntu* decreases RAM even further - almost 350MB less than with CoreELEC's bootloader.

Link to comment
Share on other sites

Hi everyone,

I'm new to this forum.

I'm trying to boot this armbian ver 5.76 in a MXQ Pro 4k (S905W 1G variant. wifi chip is SV6051P).

Mine board has a little problem, it lacks emmc because the old owner of the board desoldered it ( don't know why).

Anyway, I burned an sdcard, I put the right dtb into the config and tried to boot. Uboot starts and tries to boot the kernel, but after a bit the kernel panics and the image won't boot. I tried to change dtb's but the kernel still panics.

I uploaded the bootlog.

Any suggestion?

 

Thankyou !

 

bootlog.txt

Link to comment
Share on other sites

The new version Armbiam 20190825 kernel 5.3.0. In this version the temperature display on G12 works.

For reasons not yet clear, the G12 has a conflict with this kernel with PULSEAUDIO. To turn the sound on models with G12 (s905x2 S922x a311d) you need to perform these steps.

1. Remove package "pulseaudio".

2. Reboot the system.

3. Once run the command "sudo /root/g12_sound.sh".

When you remove the pulseaudio package, not volume control.

Alternatively, you can install the "pnmixer" package that works with ALSA.

 

Khadas VIM3 and Ugoos AM6

Full-screen 1080p video playback from Youtube (Chromium) to works at a temperature no higher than 55 (without a fan). :)

 

 

 

Link to comment
Share on other sites

Pay attention. The multi-boot scripts have been updated, I recommend to re-activate the multi-boot using the new scripts. In the scripts added ability to run Android without removing the external media Armbian. To do this in the first section of the external media (/boot) to create an empty file boot_android. If you have this file, each time you restart, either the external system or Android from eMMC will start in turn. To disable this mode, you need to delete the file boot_android external media.

Link to comment
Share on other sites

On 8/24/2019 at 4:53 PM, Z11ntal33r said:

I had no luck with LibreELEC regarding increasing RAM, but installing CoreELEC and upgrading bootloader fixed this as I now have 3696MB of available RAM

Coreelec uses an outdated system startup and kernel ( with serious problems in security), it is not compatible with Armbian and Libreelec.

The new kernel reserves memory for video.

 

1 hour ago, Pietrotti97 said:

Anyway, I burned an sdcard, I put the right dtb into the config and tried to boot. Uboot starts and tries to boot the kernel, but after a bit the kernel panics and the image won't boot. I tried to change dtb's but the kernel still panics.

I uploaded the bootlog.

Any suggestion?

According to the log, the kernel panic is caused by the absence of eMMC. You can try to change the DTB and remove the partition from eMMC (infu how to do this look in this and neighboring topics).

Link to comment
Share on other sites

27 minutes ago, balbes150 said:

The new kernel reserves memory for video.

So the new kernel reserves almost 350 MB of RAM for video? Which means the latest patches for Khadas VIM3 u-boot (which is not present in theirs latest Android og Ubuntu builds) won't increase the amount available RAM if I start over by burning Android/Ubuntu to eMMC with latest u-boot and then install latest version of Armbian (Armbian_5.94_Aml-g12_Debian_buster_dev_5.3.0-rc5_20190825) to eMMC again?

Link to comment
Share on other sites

On 8/24/2019 at 4:53 PM, Z11ntal33r said:

HDMI problems with Armbian_5.94_Aml-g12_Debian_buster_default_5.2.1_20190821.img as the screen is white and blurry...

I checked the image on my VIM3, everything works correctly, there is no problem with the color or clarity of the text.

If you run coreelec, for proper operation of other systems after it, you need to full erase the eMMC and restore the standard firmware.

Link to comment
Share on other sites

12 minutes ago, balbes150 said:

I checked the image on my VIM3, everything works correctly, there is no problem with the color or clarity of the text.

If you run coreelec, for proper operation of other systems after it, you need to full erase the eMMC and restore the standard firmware.


I've attached a picture so you can see the issue I faced when I tested Armbian_5.94_Aml-g12_Debian_buster_default_5.2.1_20190821.img.

Spoiler

 

IMG_0297.jpg

 


I did a full erase of eMMC and burned latest Ubuntu (VIM3_Ubuntu-server-bionic_Linux-4.9_arm64_EMMC_V20190813) with USB Upgrade Tool before installing Armbian to eMMC the last time. How much RAM do you have with VIM3 with the build you are using?

Link to comment
Share on other sites

18 minutes ago, Z11ntal33r said:

I did a full erase of eMMC and burned latest Ubuntu (VIM3_Ubuntu-server-bionic_Linux-4.9_arm64_EMMC_V20190813) with USB Upgrade Tool

When using Khadas Ubuntu in eMMC (using Ubuntu's option to write to eMMC via USB Burn Tool) is a bad option for General use with external systems (which run from SD card and USB flash drive). All versions of Khadas Ubuntu to write to eMMC, have an error in u-boot, which does not properly run external systems. If you want to run Armbian with external media, the eMMC should be strictly firmware with regular Android. I have explained this problem many times on the Khadas forum.

Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines