Home Live Radio Podcast Live TV Vodcast Forum Files Login Register :     Contact : 
 
Forum index Forum: Device: SkyTC - KMP510 (Envivo Otek Xenta Arnova) Topic: Arnova Kmp511 Rm003 Help needed!! Last replied to: December 17, 2016, 11:34 pm Back to post view
AuthorPostOptions
Posted by yugaja123 Message # 1     Posted at December 5, 2016, 9:28 am,     subject: Arnova Kmp511 Rm003 Help needed!!  
Messages: 8 posts
Registration date: October 27, 2016
Status: Offline

Hello,
I have one Arnova KMP511 device, which is (almost) dead since few days ago. Ac/DC adapter get old; electrolytic were bad; got hiccup...So Arnova was powered with unstable voltage during boot sequence and as result of that, it will not boot anymore: well known sequence  Arnova logo/blank screen/Arnova logo forever...

I have that device for a few mounts. I have already installed listenlive firmware, but not installed recovery, as it seemed to me that my device was not supported.

I have opened device and connected PC terminal to J4 port. ( because of my background, electronic, component level debug, embedded programing  should be ok for me..).

 HW  model is : KMP510 MAIN VER1.2

 I 've got this log from J4 @57600n8:


U-Boot 1.1.6 (Mar 30 2011 - 10:15:19)

Board: Ingenic CETUS (CPU Speed 378 MHz)
DRAM:  64 MB
Flash:  0 kB
Build: 101222-0, based on patch-090903
Support custom u-boot logo in NAND
SD init ok
*** Warning - MMC/SD first load, using default environment

MAC address = 00:0A:EB:AA:EA:17
Use default Remote On Key
Use default Remote User ID
Remote User ID = 0x00, Power On Key = 0x0A
Powwer on by on/off key
Now reset KMP510 TFT panel
spi_init_tm035kdh08 init...
Show default logo
In:    serial
Out:   lcd
Err:   lcd
Hit any key to stop autoboot:  1  0
altbt from environment is 0x10
Select noraml kernel and rootfs...

MSC readSD init ok
 3145728 bytes OK:
## Booting image at 80600000 ...
   Image Name:   Linux-2.6.24.3
   Image Type:   MIPS Linux Kernel Image (gzip compressed)
   Data Size:    1674950 Bytes =  1.6 MB
   Load Address: 80010000
   Entry Point:  802bcc60
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

Linux version 2.6.24.3 (root@kingjore-laptop) (gcc version 4.1.2) #301 PREEMPT Wed Mar 30 18:39:14 CST 2011
SDRAM: Bus Width = 32, CAS Width = 9, RAS Width = 13, # of Bank = 4, Total Size = 64 Mbyte
CPU revision is: 2ed0024f (Ingenic JZRISC)
CPU clock: 378MHz, System clock: 126MHz, Peripheral clock: 126MHz, Memory clock: 126MHz
JZ4750D CETUS board setup
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal          0 ->    16384
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->    16384
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16256
Kernel command line: console=ttyS1,57600n8 ip=off root=/dev/mmcblk0p5 rw build=101222-0
Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
Synthesized clear page handler (25 instructions).
Synthesized copy page handler (44 instructions).
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x25
console [ttyS1] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 61048k/65536k available (2760k kernel code, 4432k reserved, 803k data, 136k init, 0k highmem)
Mount-cache hash table entries: 512
net_namespace: 64 bytes
NET: Registered protocol family 16
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
NET: Registered protocol family 2
Time: jz_clocksource clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
Total 16MB memory at 0x3000000 was reserved for IPU
Total 0MB memory1 at 0x10c4000 was reserved for IPU
Power Management for JZ
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
LCDC: PixClock:7411764
LCDC: PixClock:7411764
fb0: jz-lcd frame buffer device, using 2048K of video memory
JzSOC onchip RTC installed !!!
JzSOC: char device family.
Jz generic touch screen driver registered
JZ4740 SAR-ADC driver registered
JZ UDC hotplug driver registered
Virtual Driver of TCSM registered
Serial: 8250/16550 driver $Revision: 1.5 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 9) is a 16550A
?±áªÒ¢ÑåMÅ
?j5%=ÂÁBJÉÅêÂJJ?

²ªª
?øserial8250: ttyS2 at MMIO 0x0 (irq = 7) is a 16550A
loop: module loaded
SKY_IO: driver ver 1.0.0
SKY_IO: misc dev got minor 63
AIGO_WPEN: driver ver 1.0.0
AIGO_WPEN: misc dev got minor 62
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V1.0
Driver 'sd' needs updating - please use bus_type methods
jz_i2c jz_i2c.0: Soft i2c bus driver.
EzI2CKEY: driver ver 3.0.4
EzI2CKEY: Push button keyboard detected
EzI2CKEY: misc dev got minor 61
FM_RDA580X: driver ver 1.0.0
FM_RDA580X fm_rda580x_init: FM Module not found
JzSOC Watchdog Timer: timer margin 60 sec
JZ4755: SD/MMC card driver registered.
JZ4755: SD/MMC card driver registered.
register codec 80228440
mmc0: new high speed SD card at address 0002
mmcblk0: mmc0:0002 ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ 1875968KiB
Colman: found mmcblk0 ************************
JZ4750_LCD: Show default animated logo
 mmcblk0: p1 p2 < p5 p6 p7 p8 p9 >
power cable insert!
JZ I2S OSS audio driver initialized
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 136k freed
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.


It seems that everything is OK till rootfs mounting? Definitely I need some help to move from here...

If I hit enter during early boot phase, Arnova enter to u-boot menu:

U-Boot 1.1.6 (Mar 30 2011 - 10:15:19)

Board: Ingenic CETUS (CPU Speed 378 MHz)
DRAM:  64 MB
Flash:  0 kB
Build: 101222-0, based on patch-090903
Support custom u-boot logo in NAND
SD init ok
*** Warning - MMC/SD first load, using default environment

MAC address = 00:0A:EB:AA:EA:17
Use default Remote On Key
Use default Remote User ID
Remote User ID = 0x00, Power On Key = 0x0A
Powwer on by on/off key
Now reset KMP510 TFT panel
spi_init_tm035kdh08 init...
Show default logo
In:    serial
Out:   lcd
Err:   lcd
Hit any key to stop autoboot:  1  0
KMP510V12#
KMP510V12#
KMP510V12#
KMP510V12# ?
?       - alias for 'help'
askenv  - get environment variables from stdin
autoscr - run script from memory
base    - print or set address offset
bdinfo  - print Board Info structure
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootm   - boot application image from memory
cls     - clear screen
cmp     - memory compare
coninfo - print console devices and information
cp      - memory copy
crc32   - checksum calculation
echo    - echo args to console
erase   - erase FLASH memory
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
flinfo  - print FLASH memory information
go      - start application at address 'addr'
help    - print online help
iminfo  - print header information for application image
imls    - list all images found in flash
itest    - return true/false on integer compare
loadb   - load binary file over serial line (kermit mode)
loads   - load S-Record file over serial line
loady   - load binary file over serial line (ymodem mode)
loop    - infinite loop on address range
md      - memory display
mm      - memory modify (auto-incrementing)
mmcinit - init mmc card
msc    - MMC/SD sub-system
mtest   - simple RAM test
mw      - memory write (fill)
nm      - memory modify (constant address)
printenv- print environment variables
protect - enable or disable FLASH write protection
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
sleep   - delay execution for some time
smartstart - Start normal or alternate kernel and rootfs
version - print monitor version
KMP510V12#

In my opinion, my arnova has OK u-boot image, has ok kernel image (uImage) but has problem with file system. I am not sure how to repair it. I have found some tool for this MCU (like USB_boot) and was able to make backup of the internal sd card. Also I have tried to change root to external mmc, as it is recognized during kernel load, with changing bootargs env, but without success till now.

So now, I am asking you for some help and some new lights on my problem. I have time to repair it...It seems to be (easy) doable, right?
I have more materials like pictures, backup images. I can attach them if it is neccessary.


 
Posted by penbex Message # 2     Posted at December 8, 2016, 2:12 pm,     subject: Arnova Kmp511 Rm003 Help needed!!  
Messages: 2213 posts
Registration date: May 21, 2009
Status: Offline

Lets get some things clear first.
- The housing of the Arnova devices is not designed to be opened and closed. Screws are behind the black grills that are glued to the plastic. Removing the grill is nearly impossible without damage. Glueing it back in such a way that you can not see it was opened is also nearly impossible.
- Most of the Arnova's have the console disabled. This means you can not get the debug output as shown above and also can not send commands etc..
- There are at least 6 or so Arnova hardware/software models. You can not flash one model with the software of another model.
- These devices do not crash because of an ac adapter getting old but simply because the hardware design (done by manufacturer SkyTC) is VERY poor! There are several mistakes in there.
- The MMC version of the device has more issues than the NAND version and MMC is much harder to fix. There were some MMC devices that I  could not fix.
- If you have a device that is not operating properly due to hardware issues, loading the RFlink firmware will most of the time not fix anything!
- In the past I did fix dead devices for people. I stopped doing that. Spending many hours on a single device to get it working again simply costs more than that the device is worth. 
- I released a Listenlive recovery image for non-MMC devices. On working devices installing the recovery mode adds a dual boot feature. When the main filesystem gets damaged (yeah, not IF but WHEN as it is a matter of time and luck) the recovery bootup can fix regular bootmode and give you some more joy.
- I did not release a revocery image for MMC devices because it was not working stable enough.





(Last Edited by penbex on December 8, 2016, 2:15 pm)
 
Posted by yugaja123 Message # 3     Posted at December 8, 2016, 2:31 pm,     subject: Arnova Kmp511 Rm003 Help needed!!  
Messages: 8 posts
Registration date: October 27, 2016
Status: Offline

Hello thanks for your valuable reply. I know that device is so hard to be opened, I have passed that , and that it is cheap and did not wort spending  too much time trying to repair it...But this seems to be easy to fix. Device load u boot, load kernel and then cant start init from eMMC. Filesystem is badly damaged.. I was wandering if we have somewhere whole rootfs contents of skyTCs but not in NAND format

Listenlive firmware during update only replaces/adds necessary files? It does not contain  the whole rootfs partition?

Thanks again for wonderful firmware and support.
 
Posted by penbex Message # 4     Posted at December 8, 2016, 11:33 pm,     subject: Arnova Kmp511 Rm003 Help needed!!  
Messages: 2213 posts
Registration date: May 21, 2009
Status: Offline

There is no full image for Arnova mmc devices.

 
Posted by yugaja123 Message # 5     Posted at December 9, 2016, 10:04 am,     subject: Arnova Kmp511 Rm003 Help needed!!  
Messages: 8 posts
Registration date: October 27, 2016
Status: Offline

Hi, thanks that is valuable info. However I have managed to obtain one more (working so far) device of the same type and will try to read again whole eMMC content using usb_boot.exe once I receive it.  Even, we do not need to open device for that, as you probably know.  If you are interested, I can upload image somewhere and share the link. Maybe there are many devices over the world with (more or less) different hw (I guess maybe wifi, amplifier, buttons/remote  MCU, even maybe some gpios are routed differently) but I think that any image will be better than no one.

 Its hard to me to understand how we do not backup devices before? You have probably stumble upon some Ingenic document about linux quick start or similar; there is one paragraph explaining how to prepare and boot 4750 processor using only SD card. In short, idea is to make one master SD card and then to dump it contents using usb_boot.exe and sdread cmd. Then using the very same tool (or as solution #2 some SDBurner/or cloner can't remember, but tool is easy downloadable from their ftp site) you can clone SD card...Simply as that (in theory)...We will see

Thanks.
 
Posted by penbex Message # 6     Posted at December 9, 2016, 11:07 am,     subject: Arnova Kmp511 Rm003 Help needed!!  
Messages: 2213 posts
Registration date: May 21, 2009
Status: Offline

Yes, but the Ingenic reference design is not the same as these players

 
Posted by yugaja123 Message # 7     Posted at December 9, 2016, 11:18 am,     subject: Arnova Kmp511 Rm003 Help needed!!  
Messages: 8 posts
Registration date: October 27, 2016
Status: Offline

Hi maybe you know which differences exist? Do you think that the clone of the internal sd card will not work? Have you tried that before, I guess that you are...
 
Posted by yugaja123 Message # 8     Posted at December 16, 2016, 9:42 am,     subject: Arnova Kmp511 Rm003 Help needed!!  
Messages: 8 posts
Registration date: October 27, 2016
Status: Offline

OK, here are some good and some less good news:

I have received second Arnova, but unfortunately it is not working reliably, or not working at all.. It has similar problem, well known timebomb, or whatsever - definately a software problem with missing files...That is a bad news. It is with original software, no ll upgrade.

Now, some good news: Second Arnova comes to linux shell promt.

"
....


AR6000: download fake eeprom
enable_SI
eeprom_type_detect: ERROR : address type was wrongly set
eeprom_ar6000_transfer file offset opsition: 0h
eeprom_ar6000_transfer: length=768
eeprom_ar6000_transfer try to open file /system/wifi/softmac
eeprom_ar6000_transfer: file /system/wifi/softmac filp_open error
disable_SI
AR6000: BMISetAppStart
AR6000: enable HI_OPTION_TIMER_WAR
AR6000: firmware_transfer
firmware_transfer: Enter, filename=/system/wifi/athwlan.bin.z77
firmware_transfer file offset opsition: 0h
firmware_transfer: length=98324, address=0x502070
firmware_transfer: BMILZData: len=8192, org_len=8192
firmware_transfer: BMILZData: len=8192, org_len=8192
firmware_transfer: BMILZData: len=8192, org_len=8192
firmware_transfer: BMILZData: len=8192, org_len=8192
firmware_transfer: BMILZData: len=8192, org_len=8192
firmware_transfer: BMILZData: len=8192, org_len=8192
firmware_transfer: BMILZData: len=8192, org_len=8192
firmware_transfer: BMILZData: len=8192, org_len=8192
firmware_transfer: BMILZData: len=8192, org_len=8192
firmware_transfer: BMILZData: len=8192, org_len=8192
firmware_transfer: BMILZData: len=8192, org_len=8192
firmware_transfer: BMILZData: len=8192, org_len=8192
firmware_transfer: BMILZData: len=20, org_len=20
firmware_transfer: Enter, filename=/system/wifi/data.patch.hw2_0.bin
firmware_transfer file offset opsition: 0h
firmware_transfer: length=1336, address=0x52d6c8
ar6000_init() Got WMI @ 0x80670c00.
Colman: Re-enable IRQ
Youli::ar6000_init: wait wmi_ready event to trigger host app area

starting pid 273, tty '': '/bin/sh'
# Youli::ar6000_ready_event: use wmi_ready event trigger setting host app
mac address = 00:0a:eb:aa:ea:17
AR6000 Reg Code = 0x40000060
./jz-media-app: error while loading shared libraries: libdirectfb-1.4.so.0: cannot open shared object file: No such file or directory

# ls
ls: ./sys: Input/output error
bin              linuxrc          opt              tmp
dev              lost+found       proc             usr
etc              mnt              root             var
home             mtoolsrc_ext2    sbin
lib              mtoolsrc_normal  system
#
....

"

 I can see that maybe up to  10 or 15 files are with Input/Output error(something like bold text lines  in log attached). So I will need those files to get working device once again.  I will search for them over the net, will see if I will success, but I was thinking to ask some kind people from here for help: For example is there any way to unpack yaffs2 image from arnova MTD recovery? I suspect that all  data are there: so close and so far in the same time... I have tried with some more or less linux generic tools, but did not success till now.

Second good news is that usb_boot.exe method for  Arnova recovery will work as it seems now. I have uploaded raw image, downloaded from the second Arnova, to the first one, and now both devices are in the very same state  - means coming to linux shell SD writing operation is reasonably fast, for example ~500Mb is transferred and written in <5minutes.

It seems to me that usb_boot.exe works similar as dd command in linux .

Hopefully waiting for some more help/info

regards,
Z.

 
Posted by yugaja123 Message # 9     Posted at December 17, 2016, 11:34 pm,     subject: Arnova Kmp511 Rm003 Help needed!!  
Messages: 8 posts
Registration date: October 27, 2016
Status: Offline

Hi,
repaired


https://drive.google.com/file/d/0B6-eRRWCEyaBd3NHZWxkNEJJaVE/view?usp=sharing


x2

I can upload file with instructions how to fix it if anybody is interested...

So thats it.


(Last Edited by yugaja123 on December 18, 2016, 10:19 am)