On Friday, January 18, 2013 12:18:51 PM UTC-7, rgviva wrote:
> I bought this A10s based mini pc from here:
> http://www.tinydeal.com/android-40-tv-box-with-wifi-hdmi-1gb-ddr3-4gb-nand-flash-p-78747.html
>
> And i am trying to create a Linux image to boot from SD. So far unsuccessfully. The board only boots into android from nand.
>
> I built a sun5i uboot + kernel, and a matching root fs. I tried the generic script.bin and also tried the script.bin from the android boot partition. Not booting when the SD is plugged in. The led doesnt even light.
>
> I tried a couple of A13 SPLs (not really sure i need one? no A10s specific ones available) and also that didnt work.
>
> Any ideas?
I'm having the same problem. I'm starting to wonder if it's even possible! I've tried the same things you've tried. I don't know what else to try. :-(
I bought this A10s based mini pc from here:
http://www.tinydeal.com/android-40-tv-box-with-wifi-hdmi-1gb-ddr3-4gb-nand-flash-p-78747.htmlAnd i am trying to create a Linux image to boot from SD. So far unsuccessfully. The board only boots into android from nand.
I built a sun5i uboot + kernel, and a matching root fs. I tried the generic script.bin and also tried the script.bin from the android boot partition. Not booting when the SD is plugged in. The led doesnt even light.
I tried a couple of A13 SPLs (not really sure i need one? no A10s specific ones available) and also that didnt work.
Any ideas?
Ok and how to use information from a10meminfo ???
Here's my script.fex, if it's some use to anybody...
http://pastebin.com/YxeNkqGwLooks like TX is on PB19 and RX on PB20
On Wednesday, February 13, 2013 9:36:38 PM UTC+1, m...@petercairns.co.uk wrote:
> Yep, I have the same board. Those two pads not on the groundplane have some voltages present, but I couldn't get any serial output from them. Will check out the script.bin to see what the pin assignments might be... ;)
>
> On Tuesday, February 12, 2013 5:32:56 AM UTC+1, ver...@gmail.com wrote:
> > On Monday, February 11, 2013 1:48:44 PM UTC-7, and...@asquaredlabs.com wrote:
> > ...snip...
> > >
> > > Not sure if this helps, but here's a similar A10s-based MK802 clone I'm currently trying to boot Linux on: http://imgur.com/YSugUgo. I suspect the two test-points below the left corner of the A10s connect to UART0 Tx and Rx, but there seems to be no activity on these pins when the NAND bootloader starts.
> > >
> >
--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi...@googlegroups.com.
Thanks Hans, will give that a try.
Hi every one,
Just because I'm new on this subject, I also have a MK802 with a A10s chip.
I have a debian armhf image for MK802-A10 (http://romanrm.ru/en/a10/debian), and I would like to know if getting a sunxi-spl.bin and a u-boot.bin on the sdcard should be enough, or should I have also to change the uImage ?
Thx in advance for any advice.
Hi all,
an update from my part on the A10s support.
Since the last time I've acquired an UART cable and am able to track data and send commands to the board. In addition extracted the script.bin from NandA and ran the a10-meminfo-static to log information. According to this wiki page (http://linux-sunxi.org/Submitting_Boards) this data is also interesting to other members of the community.
a10-memdump: https://www.dropbox.com/s/9ics6qxa7jzc4bz/a10-memdump.txt
script.bin : https://www.dropbox.com/s/badifse51k7ydhc/script.bin
script.fex : https://www.dropbox.com/s/161cyquj9h5yy5x/script.fex
The suggestion provided by PeterC. on updating the dram.c settings did not improve booting from sdcard. If the device is turned on with the sdcard inserted no information is send over UART. This might indicate either that it does not boot, no information is send over UART (same issue as mentioned earlier in this threat?), or both. Rebooting the android device from stock rom (using a terminal application) with the sdcard inserted locks the device in a similar way.
I'm in no direct hurry to get this working, I can focus on other challenges, so I'll wait for Simon and Hans to figure out the final details. But if I can provide any additional information or anything in general to help get this board officially supported just let me know. So far this has been an interesting exercise / learning process and I'm eager to learn more.
Kind Regards,
San
Could it be that the AXP152 settings which Simon created patches for differ from one board design to another, such as voltages?
Hi Simon,
Thanks for the i2cdump.bin. I've got a MK802 clone - here are the various files:
script.fex: http://pastebin.com/QLF5R1XE
output from i2cdump: http://pastebin.com/aWdEkyPJ
Hope that helps,
-Pete
Cool, thanks Simon - I'll give that a go!
[dram_para]dram_baseaddr = 0x40000000dram_clk = 432dram_type = 3dram_rank_num = 1dram_chip_density = 4096dram_io_width = 16dram_bus_width = 32dram_cas = 9dram_zq = 0x7bdram_odt_en = 0dram_size = 512dram_tpr0 = 0x42d899b7dram_tpr1 = 0xa090dram_tpr2 = 0x22a00dram_tpr3 = 0x0dram_tpr4 = 0x0dram_tpr5 = 0x0dram_emr1 = 0x0dram_emr2 = 0x10dram_emr3 = 0x0
Okay I had another go - did a fresh git update and compiled from scratch with the patches etc. No dice.
It doesn't work when warm-booting from Android either (unlike Hans I've never had this working). I also tried lowering the mem frequency to 360 in case that was causing some kind of lockup. It's definitely not reaching kernel boot as there is no USB OTG power and no kernel logs are left.
So I think the next thing is to figure out how to get UART connected to this board for some more info as to what the devil is going on there... :)
Yup, I updated dram.c with the settings from my FEX file before compiling.
today i build the boot from https://github.com/jwrdegoede/u-boot-sunxi use mk802_a10s,and build the kernel with sun5i_defconfig,
but i failed!
i don't have serial console to connect the device to see whether the boot or the kernel is wrong...
mk802 with a10s chip is so terrible!
can anyone fix it?
On Tuesday, May 14, 2013 2:45:46 PM UTC-6, ver...@gmail.com wrote:
>
> I found and used a10s-r7-tv-dongle_config and was able to do a make. It built tools/mkimage (among other things). Am I missing something? I don't see any new u-boot.bin file.I wouldn't doubt it if everyone ignored my thoughtless ramblings. Anyhow I was able to make a u-boot.bin using the a10s-r7-tv-dongle_config.
Just didn't have any luck with it booting. :(
Usage: ./usb-boot board u-boot.bin [boot.scr|-] [kernel script.bin [initramfs]]