Jump to content

Recommended Posts

Posted
  On 4/8/2017 at 3:16 PM, tkaiser said:

With latest commits nand-sata-install should also be much more reliable when running on a system with typical services installed. See at the end of http://sprunge.us/FGOD

  

Requires the following of course the next few weeks:

wget -O- "https://raw.githubusercontent.com/igorpecovnik/lib/master/scripts/nand-sata-install/usr/lib/nand-sata-install/nand-sata-install.sh" >/usr/sbin/nand-sata-install

 

Expand  

 

Hi tkaiser, I'm trying to run X96 mini from eMMC.  I followed the general instructions:


 

su -
(enter passwd root)
./install.sh

or

nand_sata_install

But after reboot (without SD card) nothing happened, blank screen, no boot at all. I managed to recover the main Android image from a backup and the devices started to boot again. Then I downloaded the script from here and started it. They were quite a lot errors, but on the end it said "Shut down". After the shutdown the LED turned to red (from blue)...forever :-) 

 

After multiple attempts to recover it, I connected to the UART port and I saw these messages:

BL2 Built : 14:59:36, Aug  9 2017.
gxl ge8c6a83 - xiaobo.gu@droid12

set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 2
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0+1 @ 912MHz - FAIL
DDR4 chl: Rank0+1 @ 1008MHz - FAIL
DDR init failed...
Reset...
GXL:BL1:9ac50e:bb16dc;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 122007

I have a feeling that from that point the device is unbrickable..but I have two more :-)   The question is what I did wrong with the install on eMMC?

 

Thank you!

 

 

 

Posted

Hello

I have tested Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img.


I can not use wifi network.

I tried to use command "modprobe wifi_dummy" as it used to work with previous versions, but this image was not successful. Have tested with the version Armbian_5.44_S9xxx_Debain_stretch_3.14.29_xfce.img and not as successful.


Can anyone tell me how to solve this problem?


Thanks in advance

Posted
  On 5/28/2018 at 8:33 AM, chaijate said:

I have tested Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_mate_20180515.img.


I can not use wifi network.

I tried to use command "modprobe wifi_dummy" as it used to work with previous versions, but this image was not successful. Have tested with the version Armbian_5.44_S9xxx_Debain_stretch_3.14.29_xfce.img and not as successful.


Can anyone tell me how to solve this problem?


Thanks in advance

Expand  

 

what is the model of the TV box?

Posted

mecool M8S pro has SV6051 WiFi. You need to do the following:

 

ln -s /lib/firmware /usr/lib/firmware

modprobe ssv6051

add ssv6051 in /etc/modules

reboot

Posted

@pisach

Thank you very much. This will return home to test the machine at home.

There is another question, I have a searh package in synaptic, which is very long time. Do you know this problem?

Thank again.

Posted
  On 5/28/2018 at 6:56 AM, pisach said:

I have a feeling that from that point the device is unbrickable..but I have two more :-)   The question is what I did wrong with the install on eMMC?

Expand  

On TV boxes can not use the official script nand-sata-install. It is not working properly and destroys the system. You have destroyed the u-boot and now, to restore, you have to close the contacts on the eMMC chip, that would block not the correct u-boot. In my images there is no NAND-sata-install script. This is actually a symbolic link to the script /root/install.sh.

 

  On 5/28/2018 at 6:17 AM, Reddwarf said:

So a 450 is a Mail-5 GPU? I'm having problems with the images, no matter what version I run from Mali5 directory it gets more and more sluggish and eventually freezes after some 10-15 minutes. Where should I look for error messages or other signs of what goes south?

Expand  

mali-5 mali-6 mali-7 , this is the libMali library version. All these versions are designed for Mali-450.

Posted
  On 5/28/2018 at 9:55 AM, balbes150 said:

you have to close the contacts on the eMMC chip

Expand  

 

Hi bables150,

yes, I had doubts and bad feelings before to run the script :-)

 

Is there some how-to reset the eMMC chip? Here is the board:  https://cdn-images-1.medium.com/max/1600/1*NJSv0Fu6wfB4qFjrTTjmFg.png

 

The eMMC chip seems to not have exposed any pins. They're some interesting connectors on the right side of the NAND, below the UART, but I don't know....

 

Thank you!

Posted
  On 5/28/2018 at 9:55 AM, balbes150 said:

mali-5 mali-6 mali-7 , this is the libMali library version. All these versions are designed for Mali-450.

Expand  

Ah thanks a lot :) Any idea what to look for with reg. to system slowing down and freezing or is this a known issue?

Posted
  On 5/28/2018 at 10:14 AM, pisach said:

The eMMC chip seems to not have exposed any pins. They're some interesting connectors on the right side of the NAND, below the UART, but I don't know....

Expand  

Look for information on the brand of the chip (if you're lucky) or ask the supplier.

 

  On 5/28/2018 at 10:17 AM, Reddwarf said:

Ah thanks a lot :) Any idea what to look for with reg. to system slowing down and freezing or is this a known issue?

Expand  

There can be many reasons, from incorrect dtb to banal overheating.

Posted
  On 5/28/2018 at 10:53 AM, balbes150 said:

Look for information on the brand of the chip (if you're lucky) or ask the supplier.

 

Expand  

 

Actually I'm more interested how to run this box from the eMMC. Why if doesn't work on TV boxes? Is there a separate how-to for TV boxes? The rest works just fine, I'm very satisfied...again thanks!  

Posted
  On 5/28/2018 at 10:53 AM, balbes150 said:

Look for information on the brand of the chip (if you're lucky) or ask the supplier.

 

There can be many reasons, from incorrect dtb to banal overheating.

Expand  

Overheating maybe, I think I have the correct dtb,  is there a gadget I can install that shows temp. cpu load etc?

Posted
  On 5/28/2018 at 11:32 AM, balbes150 said:

 

Expand  

 

 

This is what I used in the beginning:

 

su -
(enter passwd root)
./install.sh

or

nand_sata_install

 

 

 

but it didn't do anything. After the end of the script, I stopped the box, removed the card and it didn't boot, just blank screen. After that I managed to restore from backup.

Posted
  On 5/28/2018 at 11:32 AM, Reddwarf said:

Overheating maybe, I think I have the correct dtb,  is there a gadget I can install that shows temp. cpu load etc?

Expand  

You should use armbianmonitor command (look at the doc for the options, i don't remeber them) or directly run: cat /sys/class/thermal/thermal_zone*/temp

Posted
  On 5/28/2018 at 10:53 AM, balbes150 said:

Look for information on the brand of the chip (if you're lucky) or ask the supplier.

 

There can be many reasons, from incorrect dtb to banal overheating.

Expand  

 

After I shorter some pins I managed to get to U-boot from the UART. A'm not very familiar with U-boot.  Could you tell me what is the fastest way to recover the device from here?

 

U-Boot 2015.01-g2d1a155-dirty (Oct 08 2017 - 12:02:50)
aarch64-none-elf-gcc (crosstool-NG linaro-1.13.1-4.8-2013.11 - Linaro GCC 2013.10) 4.8.3 20131111 (prerelease)
GNU ld (crosstool-NG linaro-1.13.1-4.8-2013.11 - Linaro GCC 2013.10) 2.23.2.20130610 Linaro 2013.10-4

 

Thanks! 

Posted
  On 5/28/2018 at 8:47 PM, pisach said:

Could you tell me what is the fastest way to recover the device from here? 

 

Expand  

 

He, fixed! I used "Burn Card Maker" with which I burned a stock FW on SD card and somehow it flashed the TV box. Now I can go to bed :-)

Posted

@balbes150
sorry again.

Yesterday i used the "modprobe wlan" command, which it works. But after I added the wlan into file /etc/modules  and reboot again. I Can't see any wifi anymore. I tried to help myself. But it was not successful. Do you have any recommendations for this?

Posted
  On 5/29/2018 at 12:32 PM, chaijate said:

sorry again.

Yesterday i used the "modprobe wlan" command, which it works. But after I added the wlan into file /etc/modules  and reboot again. I Can't see any wifi anymore. I tried to help myself. But it was not successful. Do you have any recommendations for this?

Expand  

Look at the topic on the link, the user describes a similar problem and its solution.

Posted (edited)
  On 5/28/2018 at 11:32 AM, balbes150 said:



Expand  

 

 

Hi, it's again me. 

 

From my point if view the install.sh script doesn't work..at least for my device. 

 

Here is the output from the script:

root@amlogic:~# ./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 /data on Thu Jan  1 00:00:10 2015
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/767040 files, 74788/3066368 blocks
done.
Copying ROOTFS.
Copy BIN
Copy BOOT
Create DEV
...
...
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.78898 s, 42.5 MB/s
writing boot image config in bootimg.cfg
extracting kernel in zImage
extracting ramdisk in initrd.img
reading kernel from /boot/zImage
Writing Boot Image /dev/boot
reading ramdisk from /boot/initrd.img-3.14.29
Writing Boot Image /dev/boot
done.
Writing new dtb ...
done.
Write env bootargs
*******************************************
Complete copy OS to eMMC parted DATA
*******************************************
root@amlogic:~#

Here is the boot:

  Reveal hidden contents

 

It seems it doesn't see the boot partition on the eMMC. Are the any other steps?

 

Thanks!

Edited by Tido
added spoiler
Posted
  On 5/29/2018 at 8:59 PM, pisach said:

It seems it doesn't see the boot partition on the eMMC. Are the any other steps?

Expand  

The script works correctly. All data is written to the eMMC without errors. When launched from the eMMC, the new kernel is loaded without errors and started. The reason is dtb data.  This is the behavior I see when dtb data is incorrect (the kernel cannot start correctly). What dtb is used when starting from SD card ?

Posted
  On 5/30/2018 at 6:12 AM, balbes150 said:

What dtb is used when starting from SD card ?

Expand  

 

I didn't modify anything. It's running fine from the SD card and I expected everything to be copied on the eMMC and to work in the same way from here.  The tv box installed with gxl_p212_2g.dtb. Should I somehow reinstall it on the eMMC?

 

Thanks!

Posted
  On 5/30/2018 at 6:39 AM, pisach said:

I didn't modify anything. It's running fine from the SD card and I expected everything to be copied on the eMMC and to work in the same way from here.  The tv box installed with gxl_p212_2g.dtb. Should I somehow reinstall it on the eMMC?

 

Expand  

Show system startup log from external media

Posted (edited)
  On 5/30/2018 at 7:29 AM, balbes150 said:

Show system startup log from external media

Expand  

 

  Reveal hidden contents

 

 

 

I hope this will be enough.

 

Thanks!

Edited by Tido
@pisach, please use SPOILER
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines