00:38.44 | CIA-91 | rhombus-tech: Ariel master * r653db042f5d7 /allwinner_a10/orders/ebrainte.mdwn: |
02:09.47 | *** join/#arm-netbook hp__ (~hp_@p5B38A298.dip.t-dialin.net) |
03:00.19 | *** join/#arm-netbook QingPei (~qingpei@123.118.97.181) |
05:00.46 | CIA-91 | rhombus-tech: Derrick master * r258108a77d17 /allwinner_a10/orders/Wockets.mdwn: |
05:56.41 | *** join/#arm-netbook mpthompson (~IceChat77@c-50-131-39-81.hsd1.ca.comcast.net) |
06:51.02 | hno | mnemoc? |
06:56.41 | specing | Hey! |
07:14.39 | *** part/#arm-netbook hno (~hno@squid/developer/hno) |
07:14.52 | *** join/#arm-netbook hno (~hno@squid/developer/hno) |
07:14.59 | hno | specing, hi |
11:25.03 | *** join/#arm-netbook penguin42 (~dg@tu006.demon.co.uk) |
12:24.14 | A0Sheds | http://www.eetimes.com/electronics-products/electronic-product-releases/processors/4370153/US-100-Smart-Phone-Made-in-China-Attracts-Universal-Attention |
12:24.35 | A0Sheds | no kidding |
13:00.32 | *** join/#arm-netbook QingPei (~qingpei@123.118.97.181) |
13:04.05 | penguin42 | is $100 that surprising ? I bought my ZTE Blade for ~£80 last year - that's not far off that |
13:28.02 | A0Sheds | http://www.360buy.com/product/606703.html |
13:58.57 | hno | penguin42, on contract or only the phone+ |
14:44.42 | MaDMaLKaV | fuck this tegra tablet, I'm not working on it anymore until I get the promised update to see if there is any vulnerability there |
14:44.46 | MaDMaLKaV | time to start with the a1000 |
14:58.41 | MaDMaLKaV | hno, should I use your github for kernel sources ? |
15:30.46 | penguin42 | hno: Only the phone |
15:32.48 | penguin42 | hno: It was locked to one carrier, but they're easy to unlock |
15:37.36 | MaDMaLKaV | hey, anyone have those aliexpress coupons at hand to order the usb - ttl adapter ? |
16:02.45 | MaDMaLKaV | forget it, found it |
16:06.03 | hno | MaDMaLKaV, my minimal tree do work, but it's very very minimal, not even serial console. Will update the 3.3 tree shortly. Been busy with the kids all day today. |
16:07.07 | hno | but all you need to change for the 3.3 tree to boot to userspace is to remove ARM_VIC from the SUN4I machine description in arch/arm/Kconfig |
16:07.46 | hno | there is some more changes in the minimal tree that needs to get merged for kernel to really work. |
16:08.09 | hno | but all depends a bit on what you want to do today. |
16:09.43 | hno | MaDMaLKaV, is the tegra tablet bootloader locked? Tegra2 is otherwise very well supported in mainline kernel |
16:14.04 | MaDMaLKaV | yeah, the bootloader have some kind of signature checking preventing us for booting anything but the factory's updates, we are reciving some new updates soon and hope they get them to remove the checks |
16:14.33 | MaDMaLKaV | but as I said, fuck it, I want to play with A10, not with tegra, I was just trying to help with that but I have already done all I'm capable of |
16:14.52 | MaDMaLKaV | I want mele running XBMC, anything else is uninteresting |
16:14.53 | MaDMaLKaV | XD |
16:31.22 | hno | MaDMaLKaV, ok. If you want something that just works no matter it's shape then go for the 2.6.36 kernel. |
16:38.55 | hno | for XBMC I think you will need to integrate the A10 media player library somehow even if somewhat incompatible due to XMBC being GPL licensed. |
16:40.26 | hno | but you ware very welcome to dig into the later kernels if intereseted. But don't expect them to just work yet.. |
16:43.22 | MaDMaLKaV | ok, thanks for the info |
16:49.45 | MaDMaLKaV | you sure there will be license problems with the libraries? AFAIK the raspberry pi also doesn't have gpl video libraries but there is a xbmc port |
16:54.43 | Gumboot | Presumably you don't force a closed-source library to be open source simply by linking GPL code against it. |
16:56.39 | zenitraM | is there *any* kind of license set for the player library? |
17:01.16 | MaDMaLKaV | hope the lima project for reverse engineering the mali driver gives us some useable code in the non distant future |
17:16.50 | penguin42 | Gumboot: It's messy - I don't understand all the details; but if it's your closed source code that you released linking GPL code against it then you're probably breaking the GPLs code copyright |
17:19.48 | hp__ | http://www.aliexpress.com/product-fm/546571245-Mele-A2000-TV-box-Allwinner-A10-hackable-device-wholesalers.html?biz_type=null&url_type=wto_clc_pic&productId=546571245&biz_type=sitePromo_wto_buyer360_clc&crm_mtn_tracelog_plan_id=497803776&crm_mtn_tracelog_task_id=8463599&crm_mtn_tracelog_log_id=1369770651 |
17:20.02 | hp__ | $75 for the mele2000 with larger flash :) |
17:35.46 | hno | MaDMaLKaV, you can't redistribute XMBC modified to use the library in binary form. |
17:36.29 | hno | Gumboot, correct. But you need to fulfill the GPL license on the GPL parts. Not all combinations is possible. |
17:37.00 | hno | MaDMaLKaV, lima is about th GPU for 3D rendering. Won't help XMBC much. |
17:37.45 | hno | In addition to the MALI GPU there is also a 2D graphics processor and a media processor in the A10. |
17:41.03 | hno | penguin42, it does not matter who have the copyright on the closed parts. You can't distribute a GPL program linked to parts with incompatible licenses, even if they all are Open Source. Closed libraries without source are by definition incompatible no matter what their license says. |
17:43.14 | penguin42 | hno: True |
17:44.04 | MaDMaLKaV | hno, I thought xbmc could use opengl to render the videos, thus avoiding the problem of linking to conflicting libraries |
17:45.49 | MaDMaLKaV | and I thought that there is no opengl support for mali in lunux currently as it is not being available with the closed source drivers, just in android |
18:04.17 | MaDMaLKaV | and, anyway, I still have to figure what legal trick they did with the raspberry pi then, as all the video and gpu related stuff is closed source also AFAIK |
18:10.33 | hno | MaDMaLKaV, the interface to the Raspberry Pi GPU is public I think. The GPU code itself is not but is separate from everything else running on it's own CPU (the GPU) so it's not a big problem. |
18:12.24 | MaDMaLKaV | I see |
18:14.34 | MaDMaLKaV | at this pace, universities will have to put some mandatory law courses on computer programming degrees |
18:15.00 | hno | But the CPU used in Raspberry Pi is annoying in another perspective related to this. There the main CPU is bootstrapped by the GPU so you can't build a free Raspberry Pi solution even if you are not interested in the GPU parts as you can not boot wihout ghe GPU firmware. |
18:16.13 | hno | MaDMaLKaV, Yes, any serious computer sience programs these days should include 10 weeks introduction to licensing, copyright, patents and trademarks I think. |
18:17.55 | hno | which would heat up the debate some orders of magnitude I think. Today most are ignorant of the unholy mess there is. |
18:19.39 | MaDMaLKaV | so first thing I must try before trying to port xbmc is see how to do it legally. uncool but necesary |
18:21.42 | penguin42 | well, one interesting question is how close you can get to the performance required completely in software without acceleration |
18:22.25 | penguin42 | then whether the MALI stuff has the potential to be of any use (even if not being intended for video stuff) |
18:30.36 | MaDMaLKaV | looking at the a10 video git repository, can't find any single reference to any kind of software license |
18:31.20 | penguin42 | then you have to assume you don't have the permission to do anything with it |
18:31.29 | MaDMaLKaV | yeah |
18:31.29 | Gumboot | Why not use the parts dedicated to the purpose? |
18:34.24 | Gumboot | What is the media processor, anyway? |
18:35.33 | MaDMaLKaV | seems like there is licensing problems with the software managing the video decoder |
18:36.47 | penguin42 | Has anyone asked Allwinner if they can just tell us the interface? |
18:37.54 | Gumboot | Whose IP is it? |
18:38.20 | penguin42 | dunno |
18:38.41 | Gumboot | I could find out the easy way, but then I have to invest a lot more effort finding out if I'm allowed to tell anybody, so I don't want to look. |
18:41.16 | Gumboot | Might be worth trawling through the official firmwares for modules and copyright notices showing where the IP came from, then working on finding documentation for the relevant components through more direct means, rather than stressing Allwinner's NDAs. |
18:41.53 | Gumboot | Well, stressing Allwinner's lawyers over the NDAs they've signed. |
18:44.07 | penguin42 | it might be worth the straight question of whether or not it is even under NDA an if so who with if they can say |
18:57.43 | MaDMaLKaV | motogp starting, bbl |
18:58.49 | specing | Where is tom? |
18:59.09 | specing | Is he evading questions? |
19:15.18 | *** join/#arm-netbook harpal (~chatzilla@117.196.74.190) |
19:16.22 | harpal | I bought a702c tablet, I got one img file and key file to update it. But Is is possible to extract that firmware .img file and modify it and repack it? |
19:20.06 | specing | ? |
19:26.26 | harpal | specing: I read about people talking about unpacking and packing android img file. on this channel http://ibot.rikers.org/%23arm-netbook/20120311.html.gz |
19:26.42 | harpal | So I asked question about unpacking img file. |
19:28.55 | specing | Do you have root access on it? |
19:29.14 | specing | If you do, you can do pretty much anything |
19:30.02 | hno | specing, Tom have been on vacation. Back yesterday I think. |
19:31.32 | hno | harpal, there is a leaked windows tool for unpacking firmware files. |
19:31.58 | harpal | hno: are you talking about AFPTool.exe ? |
19:32.17 | hno | not sure what it's name is. |
19:34.11 | harpal | ok, I tried AFPTool.exe to unpack file but its showing me failed. so not able to extract img file. |
19:41.31 | hno | I think it's just called unimg. |
19:56.20 | *** join/#arm-netbook eebrah (~Ibrahim_K@212.49.88.35) |
20:01.23 | hno | harpal, http://forum.xda-developers.com/showthread.php?t=1490886&page=2 |
20:02.20 | hno | http://forum.xda-developers.com/showpost.php?p=22512903&postcount=17 to be exact. |
20:19.06 | harpal | hno: Thanks a lot. I got files extracted, but dont know what are files inside. it shows me lots of files, like RFSFAT16_SYSTEM_000000000, RFSFAT16_VBOOT_0000000000 |
20:20.18 | hno | harpal, read the rest of the thread. |
20:27.44 | zenitraM | harpal: most of them are vfat or ext4 partition. you can mount them on linux |
20:27.52 | zenitraM | using mount -o loop <file> |
20:28.06 | zenitraM | mount -o loop <file> <place to mount> |
20:28.12 | harpal | zenitraM: ok |
20:38.31 | harpal | zenitraM: I tried mounting using -o loop but it says you must specify the file system type. |
20:38.51 | harpal | so I think its different file. |
20:38.59 | zenitraM | try adding: -t vfat or -t msdos |
20:39.08 | zenitraM | not all of them are mountable |
20:39.18 | zenitraM | the FS are the bigger ones |
20:40.14 | penguin42 | harpal: what does file say about the file? |
20:40.24 | harpal | It says wrong fs type |
20:40.33 | harpal | file says : data |
20:40.53 | harpal | file size is 214M |
20:41.41 | hno | harpal, what is the file named? |
20:42.38 | harpal | hno: file name is RFSFAT16_SYSTEM_000000000 |
20:43.16 | penguin42 | that's one heck of a name |
20:44.08 | hno | penguin42, it's parts of the firmware image, not actual file names. |
20:57.43 | zenitraM | harpal: mount -t ext4 -o loop RFSFAT16_SYSTEM_00000000 /mnt/whatever |
21:00.19 | harpal | zenitraM: still same error :( |
21:00.55 | harpal | dmesg says EXT4-fs (loop0): VFS: Can't find ext4 filesystem |
21:01.12 | zenitraM | try ext3 or ext2 |
21:02.20 | harpal | zenitraM: both failing. |
21:02.53 | zenitraM | mmm i think i mounted them that way |
21:02.55 | zenitraM | try with another image |
21:03.00 | zenitraM | file* |
21:03.07 | harpal | as this thread http://www.slatedroid.com/topic/28942-50-to-the-first-person-to-figure-this-out/ says its ext4 image |
21:06.54 | hno | harpal, do the file actually contain anything? |
21:08.50 | harpal | file size is 214M so its mail file which holds system directory on android side |
21:08.57 | harpal | *main |
21:21.01 | harpal | I think files are encrypted. |
21:34.20 | hno | unimg decrypts. |
21:34.47 | hno | i think. |
21:51.31 | zenitraM | it should be decrypted |
21:56.54 | harpal | its ics, So Its different file system. Need to use simg2img to easily make it .img file. |
21:57.07 | harpal | http://forum.xda-developers.com/showthread.php?t=1081239 |
22:07.07 | zenitraM | mmm |
22:07.09 | zenitraM | try something |
22:07.21 | zenitraM | if you have a device running that firmware |
22:07.29 | zenitraM | run "busybox mount" on the device terminal |
22:07.36 | zenitraM | by using adb or terminal emulator from the market |
22:07.45 | zenitraM | that should show what fs type it really i |
22:07.45 | zenitraM | s |
22:11.46 | harpal | zenitraM: simg2img did the trick ;) |
22:11.51 | zenitraM | nice :) |
22:12.01 | harpal | that is actually sparce-image |
22:33.20 | hno | harpal, you mean sparse? |
22:35.01 | harpal | ohh ya, sparse |
22:37.47 | hno | What firmware are you looking into? |
22:39.19 | hno | mnemoc, my lnux-3.3-sun4i tree should now work fine I think. Merged over the changes from my -minimal experiment. |
22:44.21 | *** join/#arm-netbook MaDMaLKaV (~IceChat9@188.86.253.69) |
22:58.58 | *** join/#arm-netbook A0Sheds (~ly@unaffiliated/l84supper) |
23:01.40 | harpal | hno: I have firmware file name as 4.0-a721.img device 702c |