19 19
masteripper

Armbian for Amlogic S802/S812

Recommended Posts

34 minutes ago, windumasta said:

the issues came from the android system.
Now I'm in the loop of step 7&8 

for your S812 system did you read the notice at the bottom?:
Attention !!!! On models with S802 S805 S812. Activation multi-boot is possible ONLY with SD card (activation of the USB stick is NOT WORKING). After a one-time activation procedure is multi-boot, run a variety of systems is possible from ANY storage media (SD cards and USB storage devices).

 

When activation is done I did insert a USB-Stick with the armbian-boot-image and reboot

Share this post


Link to post
Share on other sites

I'm go back to android to make again the steps and
8. System twice to reboot and start running the system from external media. [it's only reboot one time]

How tu use the uart ?

IMG_20180216_221019.jpg

Share this post


Link to post
Share on other sites

Hello thx for help me

I reupload thé pc with the uart location on board 

 

I don't know what is vcc. Where I suppose to plug it on the uart USB 

I presume it's the 5v or 3v

 

IMG_20180217_090215.jpg

Share this post


Link to post
Share on other sites
2 hours ago, windumasta said:

Hello thx for help me

I reupload thé pc with the uart location on board 

I don't know what is vcc. Where I suppose to plug it on the uart USB 

I presume it's the 5v or 3v

Yes VCC is 5 or 3.3V but you dont need VCC because the USB-Dongle and the mainboard/pc has its own power :)
You can connect the cable as written in the Picture (RX<->TX, TX<->RX, GND<->GND)
On some other USB-Dongles it could be to connect RX<->RX and TX<->TX - but mostly not :)

TTL-serial-connect.jpg

Share this post


Link to post
Share on other sites

ho ok I suposed to cross de wire!
And guess What I d'ont have a s815 but a s805! as cpu with only 1g of ram!
That can be truth I ha 4 chip of DD3 from an unamed brand and i(ts wrote "512x8ddr3")
 

QA9:A;SVN:74E;POC:3DF;STS:0;BOOT:0;INIT:0;READ:0;CHECK:0;PASS:0;             
no sdio debug board detected                                                
                             TE : 25503                                      
BT : 16:47:49 Nov 26 2015                                                    
PMU:NONE                                                                     
##### VDDEE voltage = 0x044c1100                     
                                                     
CPU clock is 1200MHz                                 
                                                     
CPU type: M8M2                                       
Aml log : DDR1 - PUB_PGSR0_QSGERR with [c040007f] retry...
Aml log : DDR1 - PUB_PGSR0_QSGERR with [c040007f] retry...
Aml log : DDR1 - PUB_PGSR0_QSGERR with [c040007f] retry...
Aml log : DDR1 - PUB_PGSR0_QSGERR with [c040007f] retry...
Aml log : DDR1 - PUB_PGSR0_QSGERR with [c040007f] retry...                      
Aml log : DDR1 - PUB_PGSR0_QSGERR with [c040007f] retry...                      
Aml log : DDR1 - PUB_PGSR0_QSGERR with [c040007f] retry...                      
Aml log : DDR1 - PUB_PGSR0_QSGERR with [c040007f] retry...                      
Aml log : DDR1 - PUB_PGSR0_QSGERR with [c040007f] retry...                      
Aml log : DDR1 - PUB_PGSR0_QSGERR with [c040007f] retry...                      
Aml log : DDR1 - PUB_PGSR0_QSGERR with [c040007f] retry...                      
Error loop 10times, error...                                                    
                                                                                
PUB init fail! Reset...                                                         
QA9:A;SVN:74E;POC:3DF;STS:6B730001;SKIP:0;BOOT:1;INIT:0;READ:0;CHECK:0;PASS:1;  
-----------------------------------------------------------------------         
* Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec  8 2014) *         
-----------------------------------------------------------------------         
CPU : AMLogic S805                                                              
MEM : 1024MB (DDR3@792MHz)                                                      
QA9:A;SVN:74E;POC:3DF;STS:6B730002;SKIP:1;USB:1;

I juste put the uart otput when I plud a adroid sd card

AndroM8S.log

Andro2Armbian.log

Share this post


Link to post
Share on other sites

You have the s812. The message about chip 805 refers to the bootloader that is part of the image. What steps did you take ? Why do you start u-boot from SD card ? Did you remove the regular u-boot from NAND ?

Share this post


Link to post
Share on other sites

Hello ! 
I dont' remeber change anithing one the u-boot

But the board was in a bricked state last year.
so I unbrick it befor try to install the armbian
And I have to Se card one of them of 16gb was for armbian
the other one of 2gb was for booting android

 

Share this post


Link to post
Share on other sites

Hello !
I'm gad to tell you ist's working fin now !
I folling this http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s812-aa/eny-acemax-ott-aa/707304-m8s-m8-v1_1-un-bricking-and-openelec to back in a norm state and then folloing yours instruction to get run armbian

OTT M8S with S812 and board revision [m8 v8_1] than can be help someone in a same case to unbrick the m8s and install Armbian

Share this post


Link to post
Share on other sites

Hello Again I still have a issue :( 
I still can't install from the SD card so I used a USB stick as said @guidol and it works 
after un apt update && apt upgrade I install on nand
And now I can't boot without the usbstick
Log when it's works with the usbstick pluged bootousbok.log
The other one with out the usb stick

bootwousbnok.log

Share this post


Link to post
Share on other sites
18 hours ago, windumasta said:

I still can't install from the SD card so I used a USB stick as said @guidol and it works 
after un apt update && apt upgrade I install on nand
And now I can't boot without the usbstick
Log when it's works with the usbstick pluged bootousbok.log
The other one with out the usb stick

bootwousbnok.log

Re-run the installation. When you first install the changed sections.

Share this post


Link to post
Share on other sites
4 hours ago, balbes150 said:

Re-run the installation. When you first install the changed sections.

Morning.
what doo you mean by you first install the changed sections.
 Should I re-install android and install armbian and run install sh ?

Share this post


Link to post
Share on other sites

 

 

./install.sh
Start copy system for DATA partition.
Formatting DATA partition...
umount: /dev/data: not mounted
/dev/data contains a ext4 file system
        last mounted on /ddbr/install on Sat Jan 13 07:49:00 2018
Suggestion: Use Linux kernel >= 3.18 for improved stability of the metadata and journal checksum features.
e2fsck 1.43.4 (31-Jan-2017)
/dev/data: clean, 11/340704 files, 43096/1361920 blocks
done.
Copying ROOTFS.
Copy BIN
Copy BOOT
tar: boot/System Volume Information/WPSettings.dat: time stamp 2018-02-22 23:44:48 is 1129.624022001 s in the future
tar: boot/System Volume Information/IndexerVolumeGuid: time stamp 2018-02-22 23:44:48 is 1129.621793001 s in the future
tar: boot/System Volume Information: time stamp 2018-02-22 23:44:48 is 1129.620516001 s in the future
Create DEV
Copy ETC
Copy HOME
Copy LIB
Create MEDIA
Create MNT
Copy OPT
Create PROC
Copy ROOT
Create RUN
Copy SBIN
Copy SELINUX
Copy SRV
Create SYS
Create TMP
Copy USR
Copy VAR
Copy fstab
*******************************************
Done copy ROOTFS
*******************************************
Writing new kernel image...
65536+0 records in
65536+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0.662487 s, 50.6 MB/s
writing boot image config in bootimg.cfg
extracting kernel in zImage
extracting ramdisk in initrd.img
extracting second stage image in stage2.img
reading kernel from /boot/uImage
Writing Boot Image /dev/boot
reading ramdisk from /boot/initrd.img-3.10.108
Writing Boot Image /dev/boot
done.
Write env bootargs
*******************************************
Complete copy OS to eMMC parted DATA
*******************************************

 

It's stuck her in uart:

[    6.255471@1] is_similar_hdmi_vic[326] vic_old=16,mode_new=11
[    6.261204@1] hdmitx: system: gate/pwr cmd: 7
[    6.265565@1] hdmitx: system: already init VIC = 0  Now VIC = 4
[    6.271434@1] hdmitx: system:  4 (cd0,cs0,pm1,vd0,1) 
[    6.276461@1] hdmitx: system: gate/pwr cmd: 0
[    6.280781@1] hdmitx: system: hw reset
[    6.285547@1] hdmitx: audio: SPDIF
[    6.288392@1] hdmitx: system: reconfig packet setting done
[    6.313336@1] hdmitx: system: set pll
[    6.316140@1] hdmitx: system: param->VIC:4
[    6.318903@1] mode is: 11
[    6.321623@1] VPU_VIU_VENC_MUX_CTRL: 0xa
[    6.324708@1] viu chan = 1
[    6.327520@1] VPU_VIU_VENC_MUX_CTRL: 0xa
[    6.331296@1] config HPLL
[    6.333898@1] set_hpll_clk_out[81] clk = 2970
[    6.355947@1] config HPLL done
[    6.358457@1] enc_vpu_bridge_reset[292]
[    6.495975@1] hdmitx: system: phy setting done
[    6.505880@1] Sink is HDMI device
[    6.515742@1] No sink attached
[    6.525491@1] hdmitx: audio: audio channel num is 1
[    6.559379@1] hdmitx: audio: SPDIF
[    6.593620@1] hdmitx: audio: current VIC: 4
[    6.627153@1] hdmitx: audio: audio sample rate: 3
[    6.630292@1] hdmitx: audio: set audio N para
[    6.634630@1] hdmitx: audio: PCM out to HDMI
[    6.638881@1] hdmitx: audio: i2s_to_spdif_flag:1 
[    6.643554@1] hdmitx: audio: Enable audio spdif to HDMI
[    6.648764@1] hdmitx: audio: Audio Type: PCM
[    6.661963@1] set_vout_mode[183]
[    7.238704@2] [RN5T618]battery vol change: 0->0 

But showing this on the screen :

 

IMG_20180223_004519_HHT.jpg

Edited by windumasta
Add picture

Share this post


Link to post
Share on other sites
14 hours ago, windumasta said:

I suppopsed that /dev/data it's the emmc 

Yes, it's in eMMC memory. It copies the entire system from external media, if the partition is smaller than the system, it will not work.

Share this post


Link to post
Share on other sites
3 hours ago, balbes150 said:

Yes, it's in eMMC memory. It copies the entire system from external media, if the partition is smaller than the system, it will not work.

It's supposed to be a 8gb emmc on the board.

Armbian it's on a usb stick of 2gb so it's fit 

 

Share this post


Link to post
Share on other sites

Hello.

 

Well I Can mount /dev/data without error

And the fs looks like correct. [IMG_20180226_153046]

 

I made serval test 

Like change the 16gb sdcard for a 2gb it's working much better 

 

I don't uses dtb.img file because I Gate a a lot of error during the boot. [M8S11.LOG] I try all file in the dtb folder same error on log file.

But il thé same time un [M8S10.log] it's asking for dtb.

 

 

 

I Also get this error when I try with Ubuntu server [IMG_20180226_020218]

 

 

IMG_20180226_153046.jpg

IMG_20180226_020218.jpg

M8S10.log

M8S11.log

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
19 19