Jump to content

Armbian for Amlogic S805 and S802/S812


masteripper

Recommended Posts

18 minutes ago, balbes150 said:

Extracted files for the old kernel, they are not suitable for kernel 5.

Yea, its for old one. But in may be checking it, You could say which old kernel dtb to use? Or its not working that way?

Thanks anyway. :)

Link to comment
Share on other sites

3 hours ago, balbes150 said:

Anyone can try the new version of LE 20200503 with the latest version of the kernel from Martin.

 

thanks to you and martin ; where do you have the image yandisk s8xx ? or yandisk Armbian S812 ?

Link to comment
Share on other sites

14 hours ago, balbes150 said:

Anyone can try the new version of LE 20200503 with the latest version of the kernel from Martin.

 

i tested it , first try m8s.dtb , HDMI ok , bootscreen and menu works , wlan (externel usb rtl 888x) was detected and wifi found but can not connect to router , mouse/keyboard  are a bit slow like a mini lag  (your 5.7 desktop is more responsive) , too fast clicking (reconnect to wlan ) ended with crash to bootlogo and freeze , i did not see wpa supplicant folder maybe thats the wifi problem , ! anything other i should test inside image ?

Link to comment
Share on other sites

On 5/3/2020 at 1:46 PM, Diamond said:

I am using S805 box. I am testing Armbian_20.05.3_Aml-s812_buster_legacy_5.6.0_desktop_20200501.img with meson8b-ec100.dtb. The box can boot and start GUI

- It can recognize USB devices

However, there is error:

Message from syslogd@localhost at May  3 06:40:02 ...
 kernel:[  284.025994] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [kworker/0:1:12]

 


[  284.029429] CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.6.0-aml-s812 #20.05.3
[  284.029556] Hardware name: Amlogic Meson platform
[  284.030073] Workqueue: events dbs_work_handler
[  284.030453] PC is at skb_put+0x0/0x50
[  284.030880] LR is at stmmac_napi_poll_rx+0x8dc/0xca8
[  284.031070] pc : [<c0ebcb7c>]    lr : [<c0d00b04>]    psr: 400f0113
[  284.031242] sp : c02b3a60  ip : 00000000  fp : ed95c580
[  284.031413] r10: ed95d580  r9 : 000005e2  r8 : ec5029c0
[  284.031609] r7 : 00001fe0  r6 : ed95c580  r5 : 00000000  r4 : 000005e2
[  284.031802] r3 : 5ed5f3a9  r2 : 00000000  r1 : 000005e2  r0 : ec5029c0
[  284.032031] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  284.032236] Control: 10c5387d  Table: 2b42c04a  DAC: 00000051
[  284.032513] CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.6.0-aml-s812 #20.05.3
[  284.032630] Hardware name: Amlogic Meson platform
[  284.032938] Workqueue: events dbs_work_handler
[  284.033685] [<c030f744>] (unwind_backtrace) from [<c030ab3c>] (show_stack+0x10/0x14)
[  284.034116] [<c030ab3c>] (show_stack) from [<c0a67020>] (dump_stack+0xc0/0xd4)
[  284.034559] [<c0a67020>] (dump_stack) from [<c03f0e64>] (watchdog_timer_fn+0x20c/0x280)
[  284.035014] [<c03f0e64>] (watchdog_timer_fn) from [<c03ad114>] (__hrtimer_run_queues+0x154/0x200)
[  284.035453] [<c03ad114>] (__hrtimer_run_queues) from [<c03ad950>] (hrtimer_interrupt+0x11c/0x2ac)
[  284.035896] [<c03ad950>] (hrtimer_interrupt) from [<c030e3a8>] (twd_handler+0x30/0x38)
[  284.036372] [<c030e3a8>] (twd_handler) from [<c0397d44>] (handle_percpu_devid_irq+0x78/0x138)
[  284.036885] [<c0397d44>] (handle_percpu_devid_irq) from [<c0391c50>] (generic_handle_irq+0x34/0x44)
[  284.037377] [<c0391c50>] (generic_handle_irq) from [<c039224c>] (__handle_domain_irq+0x5c/0xb4)
[  284.037928] [<c039224c>] (__handle_domain_irq) from [<c0a7ed20>] (gic_handle_irq+0x3c/0x78)
[  284.038397] [<c0a7ed20>] (gic_handle_irq) from [<c0300b0c>] (__irq_svc+0x6c/0x90)
[  284.038583] Exception stack(0xc02b3a10 to 0xc02b3a58)
[  284.038901] 3a00:                                     ec5029c0 000005e2 00000000 5ed5f3a9
[  284.039320] 3a20: 000005e2 00000000 ed95c580 00001fe0 ec5029c0 000005e2 ed95d580 ed95c580
[  284.039660] 3a40: 00000000 c02b3a60 c0d00b04 c0ebcb7c 400f0113 ffffffff
[  284.040147] [<c0300b0c>] (__irq_svc) from [<c0ebcb7c>] (skb_put+0x0/0x50)
[  284.040559] [<c0ebcb7c>] (skb_put) from [<00000000>] (0x0)

 

Same issue on S805 Armbian_20.05.3_Aml-s812_buster_current_5.7.0-rc3_desktop_20200503.img

uname -a
Linux aml-s805 5.7.0-rc3-aml-s812 #20.05.3 SMP Sun May 3 12:19:42 MSK 2020 armv7l GNU/Linux

 

 

 

Link to comment
Share on other sites

On 5/3/2020 at 7:17 PM, balbes150 said:

Anyone can try the new version of LE 20200503 with the latest version of the kernel from Martin.

 

Yea. I try to catch to birds at once. First i installed old LE 8.2.5 into NAND. Then i updated to 9.0.2 (3.10.108) using manual update in LE settings.

Then i tried with LE 20200503 (copied to /storage/.update/ folder an img.gz file). But says missing (source) kernel.img or SYSTEM.

Updating with tar (or with 4 files from target folder – OpenELEC way) generates error in check_update. Cannot update to 9.2 to NAND. I run 202004XX version on SD.

@balbes150 Is any way to update 9.0.2 installed on NAND to LE 20200503?

 

Then i will try with Armbian. :)

 

 

Link to comment
Share on other sites

16 hours ago, Junoxe said:

Is any way to update 9.0.2 installed on NAND to LE 20200503?

No, that's not possible. These are completely different kernel.

 

5 hours ago, RaptorSDS said:

i wrote yesterday with martin and he told me that he release a new patch for SDIO/MX/MMC controller on 04.05 or 03.05 please can you inform me when your new Image has this patch inside ?

New versions are released as soon as I have the opportunity. If you want, you can build the new version yourself (switch the kernel sources to the new Martin branch).

Link to comment
Share on other sites

@balbes150 i tested the new LE , first boot my box with m8s.dtb now , HDMI work , wlan0 are detected and load but also the old 2014 driver (there make the problems ) eth0 detected and dhcp work but still no internet access (no add-on repro found / can not connect )  , did you need any logs or infos ?

Link to comment
Share on other sites

@balbes150 some more information from  Armbian Update. Ver 20200506 , Sometimes Restart did not work ( it stop with black screen and watchdog0 do not stop or meson@sdhc busy CMD25) another thing is that after screensaver activate (hdmi goes blank and you wake up the box) the screen has a rosa overlay over all and it do not go away ( only with restart of the box) 

Link to comment
Share on other sites

@balbes150 i found the clue for wifi (rtl8723bs) problem with my box and maybe i can get a fix with the help from Martin , its abig step to have onboard wifi work in kernel5 for me , please can you make a new  image  when martin and i find the fix , i would like move my linux server  to the kernel 5

Link to comment
Share on other sites

20 hours ago, RaptorSDS said:

i found the clue today and also martin got the infos today ( the r8723 has a 3 state Wlan_disable pin   / low -> sdio on wlan off , open-> sdio off , high -> sdio on wlan on )

update image ver 20200518

Link to comment
Share on other sites

Hi everyone.

 

I'm trying armbian in an old S805 tv box (Chiptrip MXV).

I tried all dtb but without any success, it shows s805 logo at the beginning  but after a few seconds my monitor says out of range .

So I connected a serial adapter and although it has no hdmi output (out of range) it boots with meson8b-mxq.dtb and detects ethernet.

WIFI seems to be not detected (the chip shows rtl8723bs)

I hope that could be useful for someone and reuse an old cheap TV box for custom projects. I can connect through ssh and configure it.

 

This is my serial output showing the process:

Spoiler

QA5:A;SVN:B72;POC:3FF;STS:0;BOOT:0;INIT:0;READ:0;CHECK:0;PASS:0;
no sdio debug board detected!UÒ¢ºÂ¢j
BT : 09:27:46 Dec 17 2015
PMU:NONE
##### VDDEE voltage = 0x044c1100

CPU clock is 792MHz

DDR mode: 32 bit mode
DDR size: 1GB (auto)
DDR check: Pass!
DDR clock: 636MHz with 2T mode
DDR pll bypass: Disabled
DDR init use : 14714 us

HHH
ucl decompress...pass
0x12345678
Boot from internal device 1st NAND

TE : 214525

System Started


U-boot-00000-g6ca4f77-dirty(m8b_pfd_s805_v1@) (Dec 17 2015 - 09:27:37)

clr h-ram
DRAM:  1 GiB
relocation Offset is: 2feb8000
show partition table:
part: 0, name :       logo, size : 2000000
part: 1, name :   recovery, size : 2000000
part: 2, name :       misc, size : 2000000
part: 3, name :       boot, size : 2000000
part: 4, name :     system, size : 40000000
part: 5, name :      cache, size : 20000000
part: 6, name :       data, size : end
aml_card_type=0x100
MMC:   [mmc_register] add mmc dev_num=0, port=1, if_type=6
[mmc_register] add mmc dev_num=1, port=2, if_type=6
SDIO Port B: 0, SDIO Port C: 1
out reg=c8100024,value=bfff3fff
power init
out reg=c110804c,value=dfffffff
IR init done!
register usb cfg[0][1] = 3ff67b84
register usb cfg[2][0] = 3ff6ab20
NAND:  NAND BOOT: boot_device_flag 1
Nand PHY driver Version: 2.01.001.0004 (c) 2013 Amlogic Inc.
amlnf_phy_init : amlnf init flag 0
NAND device id: ad de 14 a7 42 4a ad de
detect NAND device: E revision 1Ynm NAND 8GiB H27UCG8T2E
nand chip ce mask 1
AML_NAND_NEW_OOB : new oob
bus_cycle=6, bus_timing=8,system=3.9ns,flash->T_REA =16,flash->T_RHOH=15
hynix nand get default reg value at blk:7, page:1792
NAND CKECK  : arg nbbt: arg_valid= 1, valid_blk_addr = 4, valid_page_addr = 0
NAND CKECK  : arg ncnf: arg_valid= 1, valid_blk_addr = 6, valid_page_addr = 0
nand block at blk 20 is bad
nand block at blk 21 is bad
NAND CKECK  : arg nkey: arg_valid= 1, valid_blk_addr = 5, valid_page_addr = 2
i=0,register --- nand_key
nand block at blk 20 is bad
nand block at blk 21 is bad
NAND CKECK  : arg nenv: arg_valid= 1, valid_blk_addr = 10, valid_page_addr = 36
nand block at blk 20 is bad
nand block at blk 21 is bad
NAND CKECK  : arg phyp: arg_valid= 1, valid_blk_addr = 8, valid_page_addr = 2
nand blk 20 is shipped bad block
nand blk 21 is shipped bad block
amlnand_phydev_init,1172,phydev->offset=0,phydev->size=1000000
amlnand_phydev_init,1172,phydev->offset=d800000,phydev->size=27000000
amlnand_phydev_init,1172,phydev->offset=34800000,phydev->size=55000000
amlnand_phydev_init,1172,phydev->offset=89800000,phydev->size=176800000
nfboot    : offset: 0x000000000000 -0x000001000000 : partitons 0 : single_chip single_plane
nfcache   : offset: 0x00000d800000 -0x000027000000 : partitons 1 : single_chip multi_plane
nfcode    : offset: 0x000034800000 -0x000055000000 : partitons 5 : single_chip multi_plane
nfdata    : offset: 0x000089800000 -0x000176800000 : partitons 1 : single_chip multi_plane
bad block count = 0
bad block count = 0
bad block count = 0
bad block count = 0
amlnf_logic_init: START
amlnf_logic_init:  COMPLETE
get_boot_device_flag: init_ret 0
get_boot_device_flag NAND BOOT:
NAND BOOT,nand_env_relocate_spec : env_relocate_spec 49
uboot env amlnf_env_read : ####
set_storage_device_flag: store 1
      Multi dtb tool version: v2 .
      Multi dtb detected, support 2 dtbs.
        aml_dt soc: m8b platform: m201 variant: 1G
        dtb 0 soc: m8b   plat: m201   vari: 1G
        dtb 1 soc: m8b   plat: m201   vari: 512M
      Find match dtb: 0
vpu clk_level in dts: 3
set vpu clk: 182150000Hz, readback: 182150000Hz(0x701)
Net:   Meson_Ethernet
init suspend firmware done. (ret:0)
cvbs trimming.1.v5: 0xa0, 0x0
pfd_s805p_is_pwdn = false
 board_work_state_show_high
out reg=c8100024,value=bfff3fef
hdmi tx power init
TV mode 720p selected.
mode = 6  vic = 4
set HDMI vic: 4
mode is: 6
viu chan = 1
config HPLL
config HPLL done
reconfig packet setting done
bmp scale:  mode=720p , x=0, y=0, w=1280, h=720
reboot_mode=charging
efuse version is not selected.
Hit Enter key to stop autoboot -- :  1 0
exit abortboot: 0
(Re)start USB(0)...
USB0:   dwc_usb driver version: 2.94 6-June-2012
USB (1) peri reg base: c1108820
USB (1) use clock source: XTAL input
USB (1) base addr: 0xc90c0000
Force id mode: Host
dwc_otg: Highspeed device found !

scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

** Invalid boot device **

** Invalid boot device **

** Invalid boot device **

** Invalid boot device **
[mmc_init] SDIO Port B:0, if_type=7, initialized OK!
Device: SDIO Port B
Manufacturer ID: 0
OEM: 0
Name: Tran Speed: 20000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 32105299968
Boot Part Size: 0
Bus Width: 4-bit
reading s805_autoscript

861 bytes read
## Executing script at 11000000
hdmi tx power init
TV mode 1080p selected.
mode = 8  vic = 16
set HDMI vic: 16
mode is: 8
viu chan = 1
config HPLL
config HPLL done
reconfig packet setting done
reading uEnv.txt

272 bytes read
reading /uImage

11080536 bytes read
reading /uInitrd

9289564 bytes read
reading /dtb/meson8b-mxq.dtb

20908 bytes read
## Booting kernel from Legacy Image at 14000000 ...
   Image Name:   Linux kernel
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    11080472 Bytes = 10.6 MiB
   Load Address: 00208000
   Entry Point:  00208000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 15000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9289500 Bytes = 8.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 11800000
   Booting using the fdt blob at 0x11800000
board_usb_stop cfg: 0
   Loading Kernel Image ... OK
OK
uboot time: 13766610 us.
EFUSE machid is not set.
Using machid 0xf81 from environment
faild to get aml_reserved_end address
the default relocate ramdisk and fdt address-relocate_addr: 0x20000000
   Loading Ramdisk to 1f724000, end 1fffff1c ... OK
   Loading Device Tree to 1f71b000, end 1f7231ab ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x200
[    0.000000] Linux version 5.7.0-rc5-aml-s812 (root@vbox) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)), GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #20.05.4 SMP Mon May 18 12:48:12 MSK 2020
[    0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: TRONFY MXQ S805
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 64 MiB at 0x3c000000
[    0.000000] percpu: Embedded 16 pages/cpu s34440 r8192 d22904 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259908
[    0.000000] Kernel command line: root=LABEL=ROOTFS rootfstype=ext4 rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 logo=osd1,loaded,0x7900000,${hdmimode},full
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 937352K/1046528K available (16384K kernel code, 693K rwdata, 4528K rodata, 1024K init, 965K bss, 43640K reserved, 65536K cma-reserved, 196608K highmem)
[    0.000000] random: get_random_u32 called from cache_random_seq_create+0x7c/0x12c with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] irq_meson_gpio: 119 to 8 gpio interrupt mux initialized
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 early BRESP only supported with Cortex-A9
[    0.000000] L2C-310: disabling Cortex-A9 specific feature bits
[    0.000000] L2C-310 ID prefetch enabled, offset 8 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x4100a0c9, AUX_CTRL 0x3ec60000
[    0.000019] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000043] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000106] Switching to timer-based delay loop, resolution 1000ns
[    0.000828] Console: colour dummy device 80x30
[    0.001353] printk: console [tty0] enabled
[    0.001414] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=4000)
[    0.001454] pid_max: default: 32768 minimum: 301
[    0.001828] LSM: Security Framework initializing
[    0.002169] Smack:  Initializing.
[    0.002188] Smack:  IPv6 port labeling enabled.
[    0.002418] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002458] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003835] CPU: Testing write buffer coherency: ok
[    0.004216] CPU0: thread -1, cpu 0, socket 2, mpidr 80000200
[    0.005478] Setting up static identity map for 0x300000 - 0x300060
[    0.005721] rcu: Hierarchical SRCU implementation.
[    0.006677] smp: Bringing up secondary CPUs ...
[    0.007638] CPU1: thread -1, cpu 1, socket 2, mpidr 80000201
[    0.008836] CPU2: thread -1, cpu 2, socket 2, mpidr 80000202
[    0.009867] CPU3: thread -1, cpu 3, socket 2, mpidr 80000203
[    0.010017] smp: Brought up 1 node, 4 CPUs
[    0.010091] SMP: Total of 4 processors activated (8.00 BogoMIPS).
[    0.010111] CPU: All CPU(s) started in SVC mode.
[    0.010976] devtmpfs: initialized
[    0.018072] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
[    0.018480] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.018533] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.022590] xor: measuring software checksum speed
[    0.060326]    arm4regs  :   667.000 MB/sec
[    0.100326]    8regs     :   634.000 MB/sec
[    0.140327]    32regs    :   587.000 MB/sec
[    0.180324]    neon      :   672.000 MB/sec
[    0.180345] xor: using function: neon (672.000 MB/sec)
[    0.180436] pinctrl core: initialized pinctrl subsystem
[    0.181422] thermal_sys: Registered thermal governor 'fair_share'
[    0.181428] thermal_sys: Registered thermal governor 'bang_bang'
[    0.181460] thermal_sys: Registered thermal governor 'step_wise'
[    0.181481] thermal_sys: Registered thermal governor 'user_space'
[    0.182645] NET: Registered protocol family 16
[    0.185229] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.186757] cpuidle: using governor menu
[    0.187343] No ATAGs?
[    0.187523] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.187568] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.232273] cryptd: max_cpu_qlen set to 1000
[    0.328340] raid6: neonx8   gen()   498 MB/s
[    0.396335] raid6: neonx8   xor()   353 MB/s
[    0.464349] raid6: neonx4   gen()   552 MB/s
[    0.532325] raid6: neonx4   xor()   395 MB/s
[    0.600359] raid6: neonx2   gen()   619 MB/s
[    0.668336] raid6: neonx2   xor()   429 MB/s
[    0.736337] raid6: neonx1   gen()   415 MB/s
[    0.804333] raid6: neonx1   xor()   372 MB/s
[    0.872361] raid6: int32x8  gen()   190 MB/s
[    0.940412] raid6: int32x8  xor()   121 MB/s
[    1.008405] raid6: int32x4  gen()   217 MB/s
[    1.076331] raid6: int32x4  xor()   132 MB/s
[    1.144353] raid6: int32x2  gen()   254 MB/s
[    1.212344] raid6: int32x2  xor()   133 MB/s
[    1.280407] raid6: int32x1  gen()   258 MB/s
[    1.348406] raid6: int32x1  xor()   127 MB/s
[    1.348427] raid6: using algorithm neonx2 gen() 619 MB/s
[    1.348446] raid6: .... xor() 429 MB/s, rmw enabled
[    1.348464] raid6: using neon recovery algorithm
[    1.350843] iommu: Default domain type: Translated
[    1.351781] SCSI subsystem initialized
[    1.352448] usbcore: registered new interface driver usbfs
[    1.352549] usbcore: registered new interface driver hub
[    1.352645] usbcore: registered new device driver usb
[    1.353247] pps_core: LinuxPPS API ver. 1 registered
[    1.353273] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.353332] PTP clock support registered
[    1.353389] EDAC MC: Ver: 3.0.0
[    1.354554] Advanced Linux Sound Architecture Driver Initialized.
[    1.355399] NetLabel: Initializing
[    1.355425] NetLabel:  domain hash size = 128
[    1.355442] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.355557] NetLabel:  unlabeled traffic allowed by default
[    1.356477] clocksource: Switched to clocksource timer
[    1.356968] VFS: Disk quotas dquot_6.6.0
[    1.357198] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.357441] FS-Cache: Loaded
[    1.357776] CacheFiles: Loaded
[    1.371729] NET: Registered protocol family 2
[    1.372796] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.372866] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.372988] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.373148] TCP: Hash tables configured (established 8192 bind 8192)
[    1.373327] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.373399] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.373705] NET: Registered protocol family 1
[    1.374459] RPC: Registered named UNIX socket transport module.
[    1.374489] RPC: Registered udp transport module.
[    1.374507] RPC: Registered tcp transport module.
[    1.374525] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.374855] Trying to unpack rootfs image as initramfs...
[    1.627191] Freeing initrd memory: 9072K
[    1.628806] hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 counters available
[    1.869255] Initialise system trusted keyrings
[    1.869598] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.879862] DLM installed
[    1.881706] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.884204] NFS: Registering the id_resolver key type
[    1.884260] Key type id_resolver registered
[    1.884282] Key type id_legacy registered
[    1.884312] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.884334] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.886637] FS-Cache: Netfs 'cifs' registered for caching
[    1.887384] Key type cifs.spnego registered
[    1.887428] Key type cifs.idmap registered
[    1.887608] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    1.888310] fuse: init (API version 7.31)
[    1.889597] JFS: nTxBlock = 7905, nTxLock = 63247
[    1.894870] SGI XFS with security attributes, no debug enabled
[    1.897677] NILFS version 2 loaded
[    1.899459] gfs2: GFS2 installed
[    1.962466] NET: Registered protocol family 38
[    1.962513] Key type asymmetric registered
[    1.962533] Asymmetric key parser 'x509' registered
[    1.962627] bounce: pool size: 64 pages
[    1.962709] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    1.962741] io scheduler mq-deadline registered
[    1.962760] io scheduler kyber registered
[    1.974578] soc soc0: Amlogic Meson8b (S805) RevA (1b - 0:B72) detected
[    1.975480] pwm-regulator: supplied by regulator-dummy
[    1.975835] VCC3V3: supplied by VCC5V
[    1.975948] VCC1V8: supplied by VCC3V3
[    1.976261] pwm-regulator: supplied by regulator-dummy
[    1.982756] Serial: 8250/16550 driver, 6 ports, IRQ sharing enabled
[    1.986604] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 24, base_baud = 9960937) is a meson_uart
[    2.878887] printk: console [ttyAML0] enabled
[    2.885751] usbcore: registered new interface driver udl
[    2.894069] lima d00c0000.gpu: IRQ ppmmu2 not found
[    2.894130] lima d00c0000.gpu: IRQ ppmmu3 not found
[    2.898263] lima d00c0000.gpu: IRQ ppmmu4 not found
[    2.903108] lima d00c0000.gpu: IRQ ppmmu5 not found
[    2.907968] lima d00c0000.gpu: IRQ ppmmu6 not found
[    2.912832] lima d00c0000.gpu: IRQ ppmmu7 not found
[    2.917716] lima d00c0000.gpu: gp - mali450 version major 0 minor 0
[    2.924012] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0
[    2.930369] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0
[    2.936688] lima d00c0000.gpu: IRQ pp2 not found
[    2.941233] lima d00c0000.gpu: IRQ pp3 not found
[    2.945830] lima d00c0000.gpu: IRQ pp4 not found
[    2.950432] lima d00c0000.gpu: IRQ pp5 not found
[    2.955034] lima d00c0000.gpu: IRQ pp6 not found
[    2.959636] lima d00c0000.gpu: IRQ pp7 not found
[    2.964240] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus
[    2.972408] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
[    2.981364] lima d00c0000.gpu: bus rate = 159375000
[    2.985549] lima d00c0000.gpu: mod rate = 24000000
[    2.990408] debugfs: Directory 'd00c0000.gpu-mali' with parent 'VDDEE' already present!
[    3.000012] [drm] Initialized lima 1.1.0 20191231 for d00c0000.gpu on minor 0
[    3.018858] brd: module loaded
[    3.031668] loop: module loaded
[    3.031719] dummy-irq: no IRQ given.  Use irq=N
[    3.035487] Loading iSCSI transport class v2.0-870.
[    3.039418] rdac: device handler registered
[    3.042949] hp_sw: device handler registered
[    3.047023] emc: device handler registered
[    3.051268] alua: device handler registered
[    3.056044] iscsi: registered transport (tcp)
[    3.060690] SSFDC read-only Flash Translation layer
[    3.064488] mtdoops: mtd device (mtddev=name/number) must be supplied
[    3.072821] libphy: Fixed MDIO Bus: probed
[    3.075397] tun: Universal TUN/TAP device driver, 1.6
[    3.080398] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[    3.088169] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[    3.101419] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.102834] ehci-platform: EHCI generic platform driver
[    3.108288] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.114370] ohci-platform: OHCI generic platform driver
[    3.120151] usbcore: registered new interface driver usb-storage
[    3.125473] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
[    3.134612] mousedev: PS/2 mouse device common for all mice
[    3.141197] i2c /dev entries driver
[    3.143886] pps_ldisc: PPS line discipline registered
[    3.150478] usbcore: registered new interface driver pcwd_usb
[    3.155171] meson_wdt c1109900.watchdog: Watchdog enabled (timeout=8 sec, nowayout=1)
[    3.162624] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=1)
[    3.173024] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 792000 KHz
[    3.179849] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 816000 KHz
[    3.186997] sdhci: Secure Digital Host Controller Interface driver
[    3.192283] sdhci: Copyright(c) Pierre Ossman
[    3.198740] usbcore: registered new interface driver ushc
[    3.203659] platform c1108c20.mmc:slot@1: Got CD GPIO
[    3.239607] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.244721] ledtrig-cpu: registered to indicate activity on CPUs
[    3.247631] hid: raw HID events driver (C) Jiri Kosina
[    3.252330] usbcore: registered new interface driver usbhid
[    3.256371] usbhid: USB HID core driver
[    3.263101] remoteproc remoteproc0: meson-mx-ao-arc is available
[    3.266373] remoteproc remoteproc0: Direct firmware load for rproc-meson-mx-ao-arc-fw failed with error -2
[    3.277998] remoteproc remoteproc0: powering up meson-mx-ao-arc
[    3.281877] remoteproc remoteproc0: Direct firmware load for rproc-meson-mx-ao-arc-fw failed with error -2
[    3.282173] no UART detected at 0x1
[    3.291366] remoteproc remoteproc0: request_firmware failed: -2
[    3.296610] oprofile: using timer interrupt.
[    3.305155] NET: Registered protocol family 26
[    3.309461] GACT probability on
[    3.312572] Mirror/redirect action on
[    3.316212] Simple TC action Loaded
[    3.316224] mmc0: new high speed SDHC card at address 59b4
[    3.320083] netem: version 1.3
[    3.328324] u32 classifier
[    3.328519] mmcblk0: mmc0:59b4 5cMJR 29.9 GiB
[    3.330877]     Performance counters on
[    3.339136]     input device check on
[    3.342759]     Actions configured
[    3.347079]  mmcblk0: p1 p2
[    3.370493] xt_time: kernel timezone is -0000
[    3.370556] IPVS: Registered protocols ()
[    3.373293] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
[    3.381086] IPVS: ipvs loaded.
[    3.383681] ipip: IPv4 and MPLS over IPv4 tunneling driver
[    3.389450] gre: GRE over IPv4 demultiplexor driver
[    3.393942] ip_gre: GRE over IPv4 tunneling driver
[    3.399642] IPv4 over IPsec tunneling driver
[    3.403816] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    3.409484] Initializing XFRM netlink socket
[    3.413586] IPsec XFRM device driver
[    3.417635] NET: Registered protocol family 10
[    3.477655] Segment Routing with IPv6
[    3.477844] mip6: Mobile IPv6
[    3.479640] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.487429] ip6_gre: GRE over IPv6 tunneling driver
[    3.490176] NET: Registered protocol family 17
[    3.493910] NET: Registered protocol family 15
[    3.500266] Bridge firewalling registered
[    3.502478] NET: Registered protocol family 5
[    3.506769] NET: Unregistered protocol family 5
[    3.511350] 8021q: 802.1Q VLAN Support v1.8
[    3.519489] DCCP: Activated CCID 2 (TCP-like)
[    3.519657] DCCP: Activated CCID 3 (TCP-Friendly Rate Control)
[    3.526124] sctp: Hash tables configured (bind 512/512)
[    3.531259] NET: Registered protocol family 21
[    3.535268] Registered RDS/tcp transport
[    3.539195] 9pnet: Installing 9P2000 support
[    3.543340] Key type dns_resolver registered
[    3.547592] openvswitch: Open vSwitch switching datapath
[    3.553436] NET: Registered protocol family 40
[    3.557332] mpls_gso: MPLS GSO support
[    3.561513] ThumbEE CPU extension supported.
[    3.565317] Registering SWP/SWPB emulation handler
[    3.650444] registered taskstats version 1
[    3.650482] Loading compiled-in X.509 certificates
[    3.653907] Key type ._fscrypt registered
[    3.657707] Key type .fscrypt registered
[    3.661605] Key type fscrypt-provisioning registered
[    3.667474] Btrfs loaded, crc32c=crc32c-generic
[    3.686229] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[    3.687223] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
[    3.693544] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[    3.700114] meson8b-dwmac c9410000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    3.706570] meson8b-dwmac c9410000.ethernet:     DWMAC1000
[    3.711736] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[    3.719191] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[    3.726658] meson8b-dwmac c9410000.ethernet: COE Type 2
[    3.731865] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[    3.738899] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[    3.745378] meson8b-dwmac c9410000.ethernet: Normal descriptors
[    3.751242] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[    3.757053] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.765045] meson8b-dwmac c9410000.ethernet: device MAC address ce:8a:15:85:aa:2c
[    3.772890] libphy: stmmac: probed
[    3.822185] dwc2 c9040000.usb: supply vusb_d not found, using dummy regulator
[    3.823909] dwc2 c9040000.usb: supply vusb_a not found, using dummy regulator
[    3.844940] dwc2 c9040000.usb: DWC OTG Controller
[    3.845001] dwc2 c9040000.usb: new USB bus registered, assigned bus number 1
[    3.851125] dwc2 c9040000.usb: irq 26, io mem 0xc9040000
[    3.856596] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    3.864620] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.871822] usb usb1: Product: DWC OTG Controller
[    3.876510] usb usb1: Manufacturer: Linux 5.7.0-rc5-aml-s812 dwc2_hsotg
[    3.883111] usb usb1: SerialNumber: c9040000.usb
[    3.888295] hub 1-0:1.0: USB hub found
[    3.891505] hub 1-0:1.0: 1 port detected
[    3.896180] dwc2 c90c0000.usb: supply vusb_d not found, using dummy regulator
[    3.902585] dwc2 c90c0000.usb: supply vusb_a not found, using dummy regulator
[    3.972693] dwc2 c90c0000.usb: DWC OTG Controller
[    3.972748] dwc2 c90c0000.usb: new USB bus registered, assigned bus number 2
[    3.978854] dwc2 c90c0000.usb: irq 27, io mem 0xc90c0000
[    3.984292] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    3.992369] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.999571] usb usb2: Product: DWC OTG Controller
[    4.004258] usb usb2: Manufacturer: Linux 5.7.0-rc5-aml-s812 dwc2_hsotg
[    4.010862] usb usb2: SerialNumber: c90c0000.usb
[    4.015962] hub 2-0:1.0: USB hub found
[    4.019246] hub 2-0:1.0: 1 port detected
[    4.024347] meson-mx-ao-arc-firmware ao-arc-firmware: Failed to request mbox channel #0
[    4.034234] printk: console [netcon0] enabled
[    4.035419] netconsole: network logging started
[    4.040418] ALSA device list:
[    4.045852]   No soundcards found.
[    4.047417] Freeing unused kernel memory: 1024K
[    4.051016] Run /init as init process
[    4.416531] usb 2-1: new high-speed USB device number 2 using dwc2
[    4.626130] usb 2-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.36
[    4.628791] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.635933] usb 2-1: Product: USB2.0 Hub
[    4.643662] hub 2-1:1.0: USB hub found
[    4.644076] hub 2-1:1.0: 4 ports detected
[    4.701119] random: fast init done
[    5.481075] EXT4-fs (mmcblk0p2): mounted filesystem with writeback data mode. Opts: data=writeback
[    6.659493] systemd[1]: System time before build time, advancing clock.
[    6.695849] systemd[1]: systemd 245.4-4ubuntu3 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[    6.714531] systemd[1]: Detected architecture arm.
[    6.788628] systemd[1]: Set hostname to <aml-s812>.
[    7.331585] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket â /run/dbus/system_bus_socket; please update the unit file accordingly.
[    7.755956] random: systemd: uninitialized urandom read (16 bytes read)
[    7.757251] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    7.769582] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    7.781821] systemd[1]: Created slice system-modprobe.slice.
[    7.784240] random: systemd: uninitialized urandom read (16 bytes read)
[    7.791736] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    7.796937] random: systemd: uninitialized urandom read (16 bytes read)
[    7.804693] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    7.811260] systemd[1]: Created slice User and Session Slice.
[    7.815914] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    7.823660] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.831115] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    7.842621] systemd[1]: Reached target Local Encrypted Volumes.
[    7.848660] systemd[1]: Reached target Remote File Systems.
[    7.854008] systemd[1]: Reached target Slices.
[    7.858398] systemd[1]: Reached target Swap.
[    7.862672] systemd[1]: Reached target System Time Set.
[    7.868559] systemd[1]: Listening on Syslog Socket.
[    7.873293] systemd[1]: Listening on fsck to fsckd communication Socket.
[    7.879793] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    7.897949] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    7.901641] systemd[1]: Listening on Journal Socket (/dev/log).
[    7.909644] systemd[1]: Listening on Journal Socket.
[    7.912433] systemd[1]: Listening on udev Control Socket.
[    7.919312] systemd[1]: Listening on udev Kernel Socket.
[    7.922826] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    7.930555] systemd[1]: Condition check resulted in POSIX Message Queue File System being skipped.
[    7.943849] systemd[1]: Mounting Kernel Debug File System...
[    7.945613] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    7.961342] systemd[1]: Starting Restore / save the current clock...
[    7.971623] systemd[1]: Starting Set the console keyboard layout...
[    7.982875] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    7.986666] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    8.000613] systemd[1]: Started Nameserver information manager.
[    8.012919] systemd[1]: Reached target Network (Pre).
[    8.043463] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    8.049855] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.106393] systemd[1]: Starting Load Kernel Modules...
[    8.113619] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.125137] systemd[1]: Starting udev Coldplug all Devices...
[    8.152647] systemd[1]: Mounted Kernel Debug File System.
[    8.157020] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    8.164283] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600,errors=remount-ro
[    8.178155] systemd[1]: Finished Load Kernel Modules.
[    8.186013] systemd[1]: Finished Remount Root and Kernel File Systems.
[    8.195235] systemd[1]: Mounting FUSE Control File System...
[    8.202953] systemd[1]: Mounting Kernel Configuration File System...
[    8.284251] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    8.287541] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    8.304444] systemd[1]: Starting Load/Save Random Seed...
[    8.312133] systemd[1]: Starting Apply Kernel Variables...
[    8.321185] systemd[1]: Starting Create System Users...
[    8.334363] systemd[1]: Finished Restore / save the current clock.
[    8.352225] systemd[1]: Mounted FUSE Control File System.
[    8.353471] systemd[1]: Mounted Kernel Configuration File System.
[    8.522930] systemd[1]: Finished Create System Users.
[    8.529734] systemd[1]: Starting Create Static Device Nodes in /dev...

Armbian 20.05.4 Focal ttyAML0

aml-s812 login:

 

 

-Anyone knows if there ara any solution to hdmi and wifi for this device?

 

Thanks

Edited by Igor
spoilers
Link to comment
Share on other sites

@elbuit  nice to see that you get a linux on your box , first do use the desktop image ? secound this linux version kernel 5.xx are  beta version  ,also the mwson8b-mxq.dtb file do not start your wlan because still some information for wlan missing inside the dtb ,please can start android and look at serial terminal for wlan pin, irq and clk infos (GPIOX_10 or pin-166 or something)

Link to comment
Share on other sites

Update. Version 20200520.

Please note that there would be no confusion, now the image date is equal to the number (date), the version of the source code of the Martin kernel.

 

 

 

18 hours ago, elbuit said:

-Anyone knows if there ara any solution to hdmi and wifi for this device?

1. To work with HDMI, you need a TV with a resolution of 1080 (fullHD).

2.  USB WiFi

Link to comment
Share on other sites

@balbes150 some feedback

1. after screensaver goes active (switch screen black/ off) and back to destktop (wakeup) screen still has rosa overlay

2. bluetooth are on rfkill but i got a two error first: rfkill has bluetooth with softblock ,secound after unblock i got error FW rtl_bt/r8723bs_fw.bin not found ( inside /usr/lib/firmware/rtl_bt/ only r8723b_fw.bin inside ) after rename files bluetooth work ( discover able and connect able )

 

 

also add to /etc/modprobe/r8723bs.conf the line rtw_btcoex_enable=1

Link to comment
Share on other sites

On 5/20/2020 at 10:33 PM, RaptorSDS said:

@elbuit  nice to see that you get a linux on your box , first do use the desktop image ? secound this linux version kernel 5.xx are  beta version  ,also the mwson8b-mxq.dtb file do not start your wlan because still some information for wlan missing inside the dtb ,please can start android and look at serial terminal for wlan pin, irq and clk infos (GPIOX_10 or pin-166 or something)

Thanks @RaptorSDS

I've extracted the dtb file from android image (kernel 3.10):

Quote

dd if=/dev/block/boot of=/sdcard/boot.img

and from https://github.com/PabloCastellano/extract-dtb

Quote

$ ./extract-dtb/extract-dtb.py boot.img
Dumped 00_kernel, start=0 end=2521
Dumped 01_dtbdump_`@0M<p.dtb, start=2521 end=7903232
Dumped 02_dtbdump_m8b_m201_1G.dtb, start=7903232 end=7927808
Dumped 03_dtbdump_m8b_m201_512M.dtb, start=7927808 end=33554432
Extracted 3 appended dtbs + kernel to dtb

 

So as my device is a 1gb i think that dtb should be 02_dtbdump_m8b_m201_1G.dtb

so I tried to booting using this dtb but without success.

I also decompiled and compiled again :
 

Spoiler

 

dtb$ dtc -I dtb 02_dtbdump_m8b_m201_1G.dtb -O dts -o chiptrip_mxv.dts
my_stick.dts: Warning (unit_address_vs_reg): /cache-controller: node has a reg or ranges property, but no unit name
my_stick.dts: Warning (unit_address_vs_reg): /interrupt-controller: node has a reg or ranges property, but no unit name
my_stick.dts: Warning (unit_address_vs_reg): /sdio: node has a reg or ranges property, but no unit name
my_stick.dts: Warning (unit_address_vs_reg): /sdhc: node has a reg or ranges property, but no unit name
my_stick.dts: Warning (unit_address_vs_reg): /nand: node has a reg or ranges property, but no unit name
my_stick.dts: Warning (spi_bus_bridge): /spi@cc000000: incorrect #address-cells for SPI bus
my_stick.dts: Warning (spi_bus_bridge): /spi@cc000000: incorrect #size-cells for SPI bus
my_stick.dts: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
my_stick.dts: Warning (avoid_unnecessary_addr_size): /dvfs: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

and compile again dts to dtb
$ dtc -I dts -O dtb -o chiptrip_mxv.dtb chiptrip_mxv.dts
chiptrip_mxv.dts:40.19-60.4: Warning (unit_address_vs_reg): /cache-controller: node has a reg or ranges property, but no unit name
chiptrip_mxv.dts:80.23-88.4: Warning (unit_address_vs_reg): /interrupt-controller: node has a reg or ranges property, but no unit name
chiptrip_mxv.dts:233.7-276.4: Warning (unit_address_vs_reg): /sdio: node has a reg or ranges property, but no unit name
chiptrip_mxv.dts:278.7-303.4: Warning (unit_address_vs_reg): /sdhc: node has a reg or ranges property, but no unit name
chiptrip_mxv.dts:637.7-656.4: Warning (unit_address_vs_reg): /nand: node has a reg or ranges property, but no unit name
chiptrip_mxv.dts:612.15-635.4: Warning (spi_bus_bridge): /spi@cc000000: incorrect #address-cells for SPI bus
chiptrip_mxv.dts:612.15-635.4: Warning (spi_bus_bridge): /spi@cc000000: incorrect #size-cells for SPI bus
chiptrip_mxv.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
chiptrip_mxv.dts:360.7-371.4: Warning (avoid_unnecessary_addr_size): /dvfs: unnecessary #address-/*cells/#size-cells without "ranges" or child "reg" property

 

 

But it get stucked on Starting kernel ...   with both dtb, extracted and recompiled.

 

Spoiler

[...]

## Executing script at 11000000                                                 
hdmi tx power init                                                              
TV mode 1080p selected.                                                         
mode = 8  vic = 16                                                              
set HDMI vic: 16                                                                
mode is: 8                                                                      
viu chan = 1                                                                    
config HPLL                                                                     
config HPLL done                                                                
reconfig packet setting done                                                    
reading uEnv.txt                                                                
                                                                                
283 bytes read                                                                  
reading /uImage                                                                 
                                                                                
11042064 bytes read                                                             
reading /uInitrd                                                                
                                                                                
9289591 bytes read                                                              
reading /dtb/02_dtbdump_m8b_m201_1G.dtb                                         
                                                                                
24576 bytes read                                                                
## Booting kernel from Legacy Image at 14000000 ...                             
   Image Name:   Linux kernel                                                   
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    11042000 Bytes = 10.5 MiB                                      
   Load Address: 00208000                                                       
   Entry Point:  00208000                                                       
   Verifying Checksum ... OK                                                    
## Loading init Ramdisk from Legacy Image at 15000000 ...                       
   Image Name:   uInitrd                                                        
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)                      
   Data Size:    9289527 Bytes = 8.9 MiB                                        
   Load Address: 00000000                                                       
   Entry Point:  00000000                                                       
   Verifying Checksum ... OK                                                    
## Flattened Device Tree blob at 11800000                                       
   Booting using the fdt blob at 0x11800000                                     
board_usb_stop cfg: 0                                                           
   Loading Kernel Image ... OK                                                  
OK                                                                              
uboot time: 13909755 us.                                                        
EFUSE machid is not set.                                                        
Using machid 0xf81 from environment                                             
From device tree /memory/ node aml_reserved_end property, for relocate ramdisk a
nd fdt, relocate_addr: 0x58e5001                                                
   Loading Ramdisk to 05009000, end 058e4f37 ... OK                             
   Loading Device Tree to 05000000, end 05008968 ... OK                         
                                                                                
Starting kernel ..

                                                       

So I think that I should build a dtb mixing from extracted android and meson8b-mxq.dtb that comes with armbian.

 

On 5/21/2020 at 2:29 PM, balbes150 said:

Update. Version 20200520.

Please note that there would be no confusion, now the image date is equal to the number (date), the version of the source code of the Martin kernel.

 

 

 

1. To work with HDMI, you need a TV with a resolution of 1080 (fullHD).

2.  USB WiFi

Thanks @balbes150 but my monitor supports 1080 (and this resolution works with android and alexelec firmware)

It should be something in dtb, I don't understand dtb files (yet).

do you know if it is possible to change to a newer generic u-boot , or u-boot is specific for each device?

 

Talking about wifi, it  doesn't mind me, I only want to use ethernet and this works fine, but I asume that it should depend on dtb and linux loaded modules.

 

 

by the way, I tried to run docker (apt install docker.io because armbian-config don't install correctly docker) and It shows that /dev/mqueue doesn't exists:

Spoiler

root@aml-s812:~# docker run hello-world
Unable to find image 'hello-world:latest' locally                               
latest: Pulling from library/hello-world                                        
4ee5c797bcd7: Pull complete
Digest: sha256:6a65f928fb91fcfbc963f7aa6d57c8eeb426ad9a20c7ee045538ef34847f44f1
Status: Downloaded newer image for hello-world:latest                           
docker: Error response from daemon: OCI runtime create failed: container_linux.g
o:349: starting container process caused "process_linux.go:449: container init c
aused \"rootfs_linux.go:58: mounting \\\"mqueue\\\" to rootfs \\\"/var/lib/docke
r/overlay2/e3d246967ca6bcf4d8bee4e66349c5bb3577e23b6b31379edfdfeaf9e8576e39/merg
ed\\\" at \\\"/dev/mqueue\\\" caused \\\"no such device\\\"\"": unknown.        
ERRO[0007] error waiting for container: context canceled          

 

thanks.

Link to comment
Share on other sites

@elbuit nice thanks for that hard work

dtb-> you can not use 3.10 dtb also not recompile version for 5.x image because 5.x has many different names for functions and systems .

pleasae can you attached your decompile dtb ( your dts file) maybe we can you use same  wlan power pin like m8s box

 

there was somebody in this thread ( maybe from last year ) that already test to run docker but there was no new infos maybe you can contact him

 

monitor i think its because kernel do not support menson8b video chip at the moment (or like the wlan do not have the right information), we get last month  the menson8m2 (mali450-chip) working  .

Link to comment
Share on other sites

13 hours ago, RaptorSDS said:

monitor i think its because kernel do not support menson8b video chip at the moment (or like the wlan do not have the right information), we get last month  the menson8m2 (mali450-chip) working  .

HDMI works on the s805 with all DTBS from the image composition. If there is no image, you need to check the connection and hardware used. I have two TV boxes s805 HDMI works.

Link to comment
Share on other sites

Hello @balbes150

Thank you very much for your hard work and support for breathing life into our old boxes!

 

I just installed latest bionic from your mega drive on my SD card.

My box is titled "OTT M8s+" (S812 2G/8G) and it works almost fully with the included "meson8m2-mxiii-plus.dtb" file - cpu/memory/network all work!

However it seems it cant detect any emmc memory (i have android on emmc and it boots fine).

Is it because the dtb file is wrong or any other cause? (i have uploaded an armbianmonitor log to http://ix.io/2nkl)

also i couldnt find any nand/emmc installation files on the file system (is it because the emmc is not detected or any other reason?)

 

Would be very grateful for any insights,

Thanks again!

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