00:02.31 | ManoftheSea | megahertz myth |
00:11.31 | CIA-91 | rhombus-tech: sauc1er master * re6dd34c61359 /allwinner_a10/orders/sauc1er.html: |
00:15.46 | *** join/#arm-netbook sauc1er1 (~sauc1er@pptp-194-94-199-133.pptp.stw-bonn.de) |
00:17.01 | ManoftheSea | haha, my first thought was "Consider my jimmies russled." First post? "Jimmies: russled" |
00:20.25 | ManoftheSea | destinal: ARM performance has always been respectable, when measured per-watt |
00:38.02 | destinal | ManoftheSea: no, not megahertz myth, in terms of instructions per second. increasing clock speed for a given SoC does typically create a linear increase in performance along with the clock speed |
00:38.30 | destinal | so I'm not saying "wow 3ghz", I'm saying, wow, something 50% faster than a stock A9 :) |
00:39.26 | destinal | and yeah, I mean of course it's going to take more power |
00:41.33 | ManoftheSea | destinal: does it get data from memory faster too? |
01:21.28 | *** join/#arm-netbook mikey_w (~mike@c-71-63-115-202.hsd1.va.comcast.net) |
01:21.44 | *** join/#arm-netbook mike_ (~mike@c-71-63-115-202.hsd1.va.comcast.net) |
01:37.50 | destinal | @man ah well, different tasks, different constraints |
01:37.58 | destinal | errr ManoftheSea ^ |
01:39.33 | ManoftheSea | I'm for faster chips. |
01:40.06 | ManoftheSea | It'd be great if the computer could do everything instantly fast, then go back to 0 power consumed sleep |
01:40.15 | ManoftheSea | but this is the real world. |
04:26.58 | *** join/#arm-netbook Eigen (~Eigen@S0106b8c75dc9a198.vn.shawcable.net) |
06:33.50 | *** join/#arm-netbook traeak (~bolsen@75-151-91-165-Colorado.hfc.comcastbusiness.net) |
07:19.12 | Gumboot | destinal: I'd say a bigger factor in MHz mythology right now is that as you wind the clock rate of the core up nothing happens to improve memory bandwidth. |
07:20.26 | Gumboot | I mean, almost everything is I/O bound, now. |
07:29.37 | *** join/#arm-netbook rell (5b078339@gateway/web/freenode/ip.91.7.131.57) |
08:51.01 | hno | is amazed how few who actually read the TSMC article. It's not about some new 3.1GHz A9, it's about TSMC being able to reliably produce one in their 28nm process. |
08:53.49 | hno | which means the competition is open in high performance semiconductor manufacturing. |
09:04.28 | mnemoc | we are in the age of (over)reading only the title and scanning the first paragraph before making an opinion about an article |
09:05.28 | mnemoc | tl;dr (tm) |
10:33.49 | *** join/#arm-netbook runejuhl (~runejuhl@flexomatic.listepik.net) |
11:01.04 | *** join/#arm-netbook Xlab (~Adium@83.149.8.73) |
11:13.55 | rz2k | how do I mount this img? http://dl.dropbox.com/u/1096320/ubuntu_12.04_0.2_dual_boot.img , file cant recognize it as image file and vfat mount with offset fails |
11:14.20 | rz2k | looks like I miss something |
11:14.49 | rz2k | it is prepared for flashing with livesuit on tablets |
11:26.10 | mnemoc | url to the announcement of this image? |
11:30.58 | rz2k | http://www.slatedroid.com/topic/32646-wip-novo-7-elf-dual-boot-elvish-03ubuntu-1204/page__p__355132#entry355132 |
11:31.46 | rz2k | I'm trying to replace script.bin with mine from ly-f1 so LCD will do something |
11:32.36 | mnemoc | nice download speed... 1.05Mb/s ... ETA 1m |
11:33.21 | mnemoc | rz2k: this decompiling them and comparing. https://github.com/amery/sunxi-tools |
11:33.46 | rz2k | yeah, but I need to mount it first, now trying to find FAT header in that img |
11:33.52 | mnemoc | fex2bin is still wip, but you can use the closed source referenced on the wiki |
11:52.30 | mnemoc | rz2k: look at the nand driver in the sun4i kernel for hints about reading offsets and sizes |
11:54.00 | hp_ | hno i'm already getting excited for the 14nm node |
12:01.28 | mnemoc | rz2k: http://arpandeb.com/03/2012/android-how-to-guides/how-to-build-custom-rom-for-allwinner-a10-based-android-tablets-part-iii.html |
12:01.47 | hp_ | hi mnemoc |
12:01.55 | mnemoc | hi hp_ |
12:01.59 | hp_ | hows your fbcon dev? |
12:02.24 | mnemoc | frozen |
12:04.23 | hp_ | frozen, code freeze, stable? |
12:04.25 | hp_ | :) |
12:05.03 | mnemoc | frozen as... stalled |
12:05.16 | hp_ | mnemoc: ahh no :( |
12:05.57 | mnemoc | to be able to debug that stuff properly and move forward I need to play with stuff in the .bin so I'm wasting my "spare" time in a compiler/decompiler... while waiting allwinner to release the 3.0.8 as promised by the now lost Tom/hipboi |
12:06.36 | hp_ | lost? |
12:07.03 | hp_ | last email i had with him was 6 days ago |
12:08.00 | mnemoc | he hasn't come since over a month and hasn't replied mails from me in longer than that.... |
12:08.24 | hp_ | mnemoc: ohh what could be up with that? |
12:08.50 | mnemoc | maybe he is just hidden.... but I have an open question since a week ago in aliexpress on an a2000 I bought for a friend |
12:09.04 | mnemoc | bbl |
12:09.19 | hp_ | mnemoc: i got an email back from him 6days ago |
12:27.01 | rz2k | mnemoc: weird, but snowbreeze doesnt seem to see my 4.0.3 original image. when I try to "unimg.exe -d <image>" I have successful extract but files are broken in file + file.hdr, instead of .fex |
12:27.05 | rz2k | heres log http://pastebin.com/xH9kSDJ1 |
12:28.17 | mnemoc | rz2k: I've never looked at an image, I can't really help you |
12:30.30 | mnemoc | if after the compiler is working allwinner still hasn't released new code I'll try to make tools or the same repo for playing with images... but currently my knowledge is zero |
12:30.48 | mnemoc | s/ or / on / |
13:03.25 | rz2k | wtf, nanda (bootfs) in that ubuntu 12.04 dual boot is ~12 meg |
13:03.41 | rz2k | still waiting for full unpack |
13:10.38 | rz2k | here it is http://dl.dropbox.com/u/1096320/dualboot_bootfs.tar.gz |
13:10.57 | rz2k | novo7 elf script.bin inside, btw. |
13:11.10 | *** join/#arm-netbook rellla (4fe563f8@gateway/web/freenode/ip.79.229.99.248) |
13:16.53 | rz2k | also boot animation and build.prop |
13:18.07 | CIA-91 | rhombus-tech: master * r1d5a91704b43 /allwinner_a10/orders/.mdwn: |
13:20.41 | mnemoc | rz2k: how did you extract it? |
13:21.25 | CIA-91 | rhombus-tech: master * r33290c714544 /allwinner_a10/orders/cbsghost.mdwn: |
13:21.48 | rz2k | unimage.exe -d <image> |
13:22.04 | rz2k | http://forum.xda-developers.com/showpost.php?p=22397975&postcount=5 |
13:26.02 | mnemoc | it's really frustrating almost everything on that forum is closed source and .exe.... |
13:27.49 | Xlab | :3 |
13:32.14 | rz2k | I believe it is a tool from allwinner, so no source |
13:32.27 | rz2k | dragon.exe for packing stuff back is from allwinner too. |
13:34.43 | mnemoc | do you have a not-chinese link to download the sdk from where those things leaked? |
13:35.43 | rz2k | nope, I think it is from ainol fs tools package |
13:36.37 | rz2k | I'll try to find it, now gtg |
13:36.50 | mnemoc | define gtg ? |
13:36.57 | rz2k | got to go :3 |
13:37.02 | mnemoc | :) |
13:37.11 | mnemoc | cu |
13:37.28 | mnemoc | I think I have that thing somewhere... will check tonight |
13:41.17 | Xlab | those guys from xda actually trying to reverse unimg.exe |
13:42.41 | mnemoc | unfortunatelly I'm from a different generation, I can't stand forums |
13:44.44 | mnemoc | they are like nntp reinvented wrong and full of ads and junk... and worst of all, flat "conversations" instead of threads |
13:45.31 | mnemoc | also no sane way of checking what messages you haven't read |
13:46.23 | mnemoc | bbl |
14:52.07 | zenitraM | okay, just got back from Cash converters (a thrift store near here) |
14:52.24 | zenitraM | and scored a 160gb 2.5'' SATA drive for.. 15 |
14:52.25 | zenitraM | labeled "PS3 ACCESSORY" |
14:55.43 | mnemoc | defective? |
14:56.56 | zenitraM | mmm it seems to work fine |
14:57.26 | zenitraM | so it seems they rather didn't know what the hell it was. comes with a metal piece screwed so it might have came from a broken ps3 |
15:02.06 | CIA-91 | rhombus-tech: Tim master * re7cab6292375 /allwinner_a10/orders/mikesellt.mdwn: |
15:03.10 | *** join/#arm-netbook eflatun (~eflatun@46.1.137.242) |
15:11.24 | zenitraM | mnemoc: just saw your sunxi-tools, gonna link them from my project as it's probably better than my ugly, ruby code |
15:11.56 | zenitraM | i also have nandas for several a10 tablets laying on my NAS, gonna find them |
15:11.57 | mnemoc | yours is... shorter :p |
15:12.34 | *** join/#arm-netbook A1Sheds (~ly@adsl-75-49-211-164.dsl.emhril.sbcglobal.net) |
15:12.34 | *** join/#arm-netbook A1Sheds (~ly@unaffiliated/l84supper) |
15:12.37 | zenitraM | shorter doesn't mean better :P i made it because at the time there was no other tool and that seemed to work |
15:18.12 | zenitraM | so, how do i go about adding dumps to your archive? fork + pull request? |
15:18.43 | mnemoc | zenitraM: I better give you commit access |
15:18.59 | zenitraM | ok :) |
15:19.25 | mnemoc | done |
15:19.46 | mnemoc | enjoy burning my quota :p |
15:20.32 | mnemoc | zenitraM: but please update your local repo using `git pull --rebase` instead of just `git pull` ... I hate empty merge marks with all my guts |
15:21.05 | zenitraM | quota? is there quota for open projects @github? |
15:21.08 | zenitraM | sure |
15:21.44 | mnemoc | there is a limit to avoid abuses, but not sure how much |
15:22.13 | mnemoc | otoh my linux repo is counted only as 1MB because it's a "fork" of torvald's |
15:22.46 | zenitraM | GitHub does not have any hard storage limits. We have soft limits for each plan to prevent abuse. We find almost everyone uses a small fraction of this limit. If you find yourself needing more disk space for a legitimate use, email support@github.com. |
15:22.47 | zenitraM | :) |
15:24.32 | mnemoc | just went to the billing page where the current plan is shown but no word about what "soft limit" applies to me :| |
15:25.18 | mnemoc | only that I can make 2 more private repos :p |
15:26.28 | zenitraM | probably the soft limits are hidden and only triggered on.. way too much space |
15:26.38 | mnemoc | yes |
15:26.53 | zenitraM | i have 5 private repos (free micro account with student email :P) |
15:27.12 | mnemoc | uh |
15:27.20 | zenitraM | although i use bitbucket for private stuff (.edu accounts there are unlimited) |
15:27.50 | mnemoc | hg or git? |
15:28.14 | zenitraM | both |
15:34.21 | zenitraM | novo 7 advanced dump pushed :) |
15:38.00 | mnemoc | go go go |
15:38.49 | zenitraM | this one is somewhat special as it comes from an ICS firmware... |
15:39.19 | zenitraM | so it uses u-boot |
15:40.02 | mnemoc | adding links to where to download official upgrades in the README.markdown might be helpful |
15:40.52 | CIA-91 | rhombus-tech: Alejandro master * r781acdcb3f82 /allwinner_a10.mdwn: |
15:40.56 | zenitraM | if i only remembered where I got it from... |
15:41.02 | mnemoc | ^^ |
15:41.49 | zenitraM | in fact i have more dumps from other devices from my firmware-frankestein stage |
15:42.56 | mnemoc | as long as they are official (not mod) and for a10-based devices, go ahead :) |
15:43.10 | zenitraM | i only have to identify them :) |
15:45.24 | mnemoc | :) |
15:49.56 | zenitraM | aand momo9 added |
16:58.55 | destinal | Gumboot: yeah, it is a good point about memory being a bottleneck |
17:27.21 | hno | unimage/unimg is not an allwinner tool, developed by someone working with (not for) allwinner. |
18:15.42 | MaDMaLKaV | hi all. been out almost all the week . missed something interesting? |
18:18.09 | CIA-91 | rhombus-tech: T3st3r3 master * re269faa8d98d /allwinner_a10/orders/t3st3r3.mdwn: |
19:18.36 | Gumboot | destinal: We're looking at lowering the clock rate for some use cases simply because all the core does is wait very very quickly for the next read to complete. |
19:21.13 | mnemoc | who is "we"? |
19:39.49 | specing | mnemoc: Building your sunxi-tools produces some warning |
19:39.53 | specing | (s) |
19:40.19 | mnemoc | fex2bin still wip |
19:40.29 | mnemoc | and not doing anything useful yet |
19:40.37 | mnemoc | bin2fex shouldn't give any warning |
19:40.43 | mnemoc | if so, can you paste? |
19:41.02 | specing | bin2fex.c: In function 'decompile_section': |
19:41.03 | specing | bin2fex.c:144:48: warning: unused parameter 'bin_size' [-Wunused-parameter] |
19:41.11 | specing | fex2bin.c:63:13: warning: variable 'col' set but not used [-Wunused-but-set-variable] |
19:41.14 | specing | fex2bin.c:57:44: warning: unused parameter 'filename' [-Wunused-parameter] |
19:41.17 | specing | fex2bin.c:57:69: warning: unused parameter 'script' [-Wunused-parameter] |
19:41.33 | specing | gcc version 4.7.0 |
19:41.44 | mnemoc | I get the same here |
19:41.46 | specing | Sorry, I had to :) |
19:42.05 | mnemoc | this remind me of unfinished features :) |
19:42.09 | mnemoc | those* |
19:44.45 | specing | You could also switch to c++ |
19:45.00 | specing | Would get rid of the sunxi-tools.h rather nicely |
19:45.54 | specing | I seem to have both script.bin and script0.bin, which one is relevant? |
19:50.58 | specing | Ah nevermind, they are identical |
19:56.13 | mnemoc | I don't do C++, or java or php. ever |
19:56.23 | mnemoc | script0.bin is a backup |
19:57.30 | mnemoc | specing: if you want to help the purpse of bin_size is to validate the offsets to not jump out of the mmap |
19:58.05 | mnemoc | specing: and next pending check is to see if there are gaps in the blob |
20:01.59 | specing | Why not C++? What did it do to you? |
20:07.35 | specing | I find your code unreadable spaghetty :( |
20:07.46 | mnemoc | :< |
20:07.50 | specing | :) |
20:10.47 | mnemoc | i'm aware of the lack of comments problem... but from there to unreadable spaghetti |
20:11.22 | mnemoc | reading function by function from bottom up show be simple enough |
20:13.17 | mnemoc | but I've been writting C since I'm 10 so what's obvius for me it's not necessarily clear for everyone |
20:17.30 | specing | You are also using gotos ... :( |
20:18.31 | specing | Couldn't you make usage a function? .. like the rest of the world does? |
20:20.24 | mnemoc | in many cases I do... but there the usage string is part of the fail flow |
20:21.19 | mnemoc | gotos are only on the main() when validating the arguments |
20:25.26 | mnemoc | warnings gone |
20:25.53 | mnemoc | that main would be far uglier without the gotos :) |
20:36.26 | ManoftheSea | goto considered harmful considered harmful |
20:48.18 | rz2k | mnemoc: you should use getopt to validate args |
20:48.27 | rz2k | unix way :3 |
20:48.50 | mnemoc | rz2k: I will, yes |
20:49.06 | specing | Well Im not touching it |
20:49.15 | mnemoc | rz2k: but I'm not using any opt yet |
20:49.39 | specing | Looks like my tablet's mfq didn't even bother changing the board name .... |
20:50.21 | mnemoc | rz2k: this is the polemic code: https://github.com/amery/sunxi-tools/blob/master/bin2fex.c#L220 |
20:51.10 | hno | goto makes great use when used right. |
20:54.28 | specing | He abused it alright |
20:55.15 | mnemoc | there are *3* gotos |
20:55.33 | mnemoc | two to mark early failures and one for success |
20:55.36 | hno | mnemoc, so you also are bourn a C programmer. nice. |
20:55.55 | mnemoc | hno: you yoo? :) |
20:56.15 | specing | They didn't even disable emac... |
20:56.33 | specing | My tablet _obviously_ doesen't have a rj-45 jack... |
20:56.41 | hno | mm.. first computer at 7, C programming at 10. |
20:57.07 | mnemoc | same :) |
20:57.48 | mnemoc | specing: so after all the decompiler is helping you :) |
20:57.59 | hno | been touching somewhere around 40 languages, but somehow it's C that sticks. |
21:00.28 | specing | mnemoc: Not really... |
21:00.49 | specing | Well I know that they've disabled debug_uart |
21:01.08 | specing | [uart_para] |
21:01.08 | specing | uart_debug_port = 0 |
21:01.08 | specing | uart_debug_tx = port:PB22<2><default><default><default> |
21:01.09 | specing | uart_debug_rx = port:PB23<2><default><default><default> |
21:01.22 | specing | I guess the second line means "disable" |
21:02.01 | mnemoc | there are some hints in the wiki about enabling uart on uSD |
21:02.12 | specing | I know |
21:02.20 | specing | But I want that uSD! |
21:02.50 | hno | and at least 9 different CPU types, looking into asm on most of them. |
21:03.20 | specing | dram_io_width = 16 |
21:03.21 | specing | dram_bus_width = 32 |
21:03.33 | specing | Does that mean its data bus is 16 bit? |
21:03.40 | specing | therefore... thumb2 ftw? |
21:04.02 | mnemoc | hno: I haven't really gone into asm after some early shock with x86's |
21:04.38 | specing | haha |
21:04.41 | hno | specing, most (all?) tablets have not wired uart0 or jtag other than via the sd card slot. |
21:05.12 | mnemoc | but I have the mk's ARM system developers guide waiting for me on the shelf for a day of courage :) |
21:05.33 | specing | [uart_para0] |
21:05.34 | specing | uart_used = 1 |
21:05.34 | specing | uart_port = 0 |
21:05.34 | specing | uart_type = 2 |
21:05.34 | specing | uart_tx = port:PB22<2><default><default><default> |
21:05.36 | specing | uart_rx = port:PB23<2><default><default><default> |
21:05.42 | specing | One UART is enabled... |
21:05.59 | specing | Who is mk? |
21:06.12 | mnemoc | editorial |
21:06.41 | mnemoc | Morgan Kaufmann |
21:06.49 | specing | Could uart0 be connected to ... bluetooth? |
21:06.54 | specing | If my tablet even has it |
21:07.01 | specing | I suspect it doesent |
21:07.56 | mnemoc | specing: http://www.amazon.com/ARM-System-Developers-Guide-Architecture/dp/1558608745 ... I didn't remember it was that expensive... |
21:08.52 | mnemoc | I read like 1/3 a couple of years ago, but didn't have the chance and time to do anything useful with it :( |
21:09.03 | zenitraM | specing: that pin might not even go anywhere |
21:09.12 | zenitraM | if your tablet had bluetooth, you would know |
21:09.25 | specing | Yes, it doesen't |
21:09.28 | zenitraM | (i only know of *one* A10 tablet with bluetooth, and it probably has an usb onboard one) |
21:09.29 | specing | Im 99% sure |
21:11.15 | specing | [motor_para] |
21:11.15 | specing | motor_used = 1 |
21:11.15 | specing | motor_shake = port:PB03<1><default><default><0> |
21:11.28 | specing | I could reroute uart's TX through motor_shake? |
21:11.37 | zenitraM | the mele's android doesn't seem to like MPEG-2 DVB streaming through the network :( |
21:11.42 | specing | I've already desoldered the damn thing |
21:11.46 | zenitraM | specing: probably |
21:11.54 | zenitraM | although it working depends on how much electronics are on the middle |
21:12.03 | zenitraM | if PB03 is directly going to the motor, it should work |
21:12.08 | mnemoc | o_o |
21:12.14 | specing | It probably goes though some kind of an amplifier |
21:12.24 | specing | the damn thing draws a watt at 3.3V |
21:13.21 | zenitraM | my electronics knowledge is severely lacking |
21:13.35 | zenitraM | but... shouldn't it work if it's still 3.3V? |
21:14.02 | specing | Most MCUs I know can't put out more than 20mA on a pin |
21:14.16 | specing | And MCUs are designed to be "sufficient" |
21:14.22 | specing | While MPUs.... |
21:14.38 | specing | i seriously doubt it can put out more than 3mA on a pin |
21:15.05 | specing | It probably goes through a darlington |
21:16.25 | zenitraM | idk what's that, but if it the rise/fall times are fast enough... shouldn't it work? |
21:16.36 | zenitraM | (unless on/off is reversed) |
21:17.07 | specing | I think it should do 115200 |
21:17.07 | zenitraM | and... those are chinese chips. don't assume *anything* from china. |
21:17.21 | zenitraM | there's just one way to find out :) |
21:17.35 | specing | mnemoc: fex2bin produces a 0 byte file |
21:18.08 | mnemoc | specing: as I said before, fex2bin is not finished :) |
21:18.27 | mnemoc | specing: but there is a closed source one hanging on the wiki |
21:19.34 | mnemoc | currently it only reads the lines and removes heading and trailing whitespace |
21:19.48 | zenitraM | use the script tool |
21:50.58 | *** join/#arm-netbook Faqtotum (ad0b7da2@gateway/web/freenode/ip.173.11.125.162) |
21:53.17 | Faqtotum | mnemoc, hno: google search pulled up http://ibot.rikers.org/%23arm-netbook/20120327.html.gz where you guys talked about the allwinner a10; either of you available for a little help |
21:53.20 | Faqtotum | ? |
21:54.38 | mnemoc | just greet (*cough*) and ask your question and someone may answer it |
21:57.37 | Faqtotum | i connected the microsd to serial and got a kernel log from aosp ics after changing script.bin, but no output from uboot. i figured console needs to be redirected to serial in the uboot env in nandb, but i need a new crc, and idk how to come up with one it will like |
21:59.01 | mnemoc | what uboot are you using? |
21:59.25 | Faqtotum | the stock binary in the vendor ics rom for the moment |
22:00.02 | Faqtotum | but after i verify that i can interact with it over serial, i will build a replacement |
22:00.30 | mnemoc | Faqtotum: use the one on hno's github |
22:00.54 | Faqtotum | this one uses the boot.axf/boot0/boot1, but the replacement should come straight from brom |
22:01.26 | mnemoc | hno: ---^ |
22:01.34 | Faqtotum | mnemoc: i intend to, after i verify that i can interact with it over serial |
22:02.51 | Faqtotum | the new uboot, after i can interact with this one, will need to be able to boot both android from nand and a linux kernel from nand |
22:03.11 | Faqtotum | not from the same nand image, of course |
22:05.06 | mnemoc | the safe way is to point to the serial-capable uboot in nanda\linux\linux.ini .... hno's supports boot.scr but I actually don't know if it supports nand |
22:05.33 | Faqtotum | btw, where does uboot expect the console if it's not redirected to serial in the env? |
22:05.40 | mnemoc | hipboi's (also in github) doesn't support boot.scr but one of his branches supports nand |
22:06.16 | mnemoc | i don't know, wait for hno |
22:06.23 | hno | me? |
22:06.30 | Faqtotum | sorry, my expertise is a bit spotty: what exactly is boot.scr? |
22:06.54 | hno | reads backlog |
22:06.56 | mnemoc | Faqtotum: a file to "script" your boot |
22:07.07 | Faqtotum | which stage? |
22:07.14 | mnemoc | uboot |
22:07.20 | Faqtotum | ah |
22:07.26 | mnemoc | you tell uboot on a file what to do |
22:07.38 | mnemoc | instead of hardcoded or interactive |
22:07.41 | Faqtotum | i'm looking earlier in the process atm |
22:07.56 | Faqtotum | and i need interactive for now |
22:08.31 | hno | the stock uboot should use sd serial when told by script.bin |
22:09.22 | hno | the mmc one don't. |
22:09.34 | Faqtotum | well, it doesn't |
22:09.49 | hno | odd |
22:09.57 | Faqtotum | from what i can tell, it has to be told in the env |
22:10.16 | Faqtotum | i.e. nandb |
22:10.42 | hno | I doubt. It is the same seriakl port, just different A10 pin configuration. |
22:11.32 | Faqtotum | i figured i need to add "stderr=serial" "stdout=serial" "stdin=serial" to the uboot env |
22:12.02 | Faqtotum | the existing env does not have that |
22:12.14 | hno | that might explain things. |
22:12.21 | Faqtotum | yes |
22:12.38 | Faqtotum | that's why i need to put it in nandb first |
22:12.42 | Faqtotum | so, how? |
22:13.12 | Faqtotum | and where does it put console if that's not in the env? |
22:16.01 | hno | good question. Never looked into that. |
22:16.38 | Faqtotum | well, that last part doesn't really matter, as long as i can get serial from uboot |
22:16.41 | *** join/#arm-netbook Xlab (~Adium@85.26.155.102) |
22:21.50 | Faqtotum | so, do you normally deal with nandb's with "stderr=serial" "stdout=serial" "stdin=serial" already in them? |
22:22.03 | Faqtotum | hno: ^ |
22:25.45 | hno | have a mele with console port, and stock u-boot configured to use it. |
22:26.14 | Faqtotum | configured in the env? |
22:27.02 | hno | no idea, have not really bothered to look into stock system much. Normally boot from sd. |
22:27.43 | Faqtotum | booting from sd is not an option here, because the serial is over sd |
22:27.54 | Faqtotum | i have to use nand |
22:28.15 | hno | but i do know that I have the stock u-boot console. |
22:28.59 | Faqtotum | can you please take a look in your env nand block? |
22:30.05 | hno | not tonight. mele currently disconnected, and only one hand free. |
22:30.16 | Faqtotum | ah |
22:30.37 | Faqtotum | you don't have an image of your nand? |
22:30.48 | hno | no |
22:31.02 | zenitraM | Faqtotum: you need to recompile the non-mmc u-boot for it to output where script.bin says |
22:31.16 | zenitraM | if you search around the logs, hipboi told me how to do it here |
22:31.39 | Faqtotum | zenitraM: got URL? |
22:32.31 | zenitraM | http://ibot.rikers.org/%23arm-netbook/20120228.html.gz |
22:33.03 | zenitraM | although one more line is missing - wtf is <PROTECTED>? |
22:34.35 | zenitraM | anyway, the problem is that u-boot doesn't read the configuration on script.bin but writes to a hardcoded location for uart (the original one) |
22:42.03 | Faqtotum | do you have the protected line in your logs? |
22:42.23 | mnemoc | isn't it easier to just replace the included u-boot and if it doesn't work re-flash the device? |
22:45.44 | Faqtotum | is there ANY nand-booting uboot that could output serial over sd? |
22:46.14 | Faqtotum | zenitraM: ^ |
22:46.52 | zenitraM | Faqtotum: in compiled form, none |
22:47.22 | zenitraM | i have no logs here (or the sources for that fact), i had a HD crash on the meantime |
22:47.31 | zenitraM | *sigh* |
22:48.04 | Faqtotum | compileable source is fine |
22:48.05 | mnemoc | zenitraM: what day/timerage of logs you need? |
22:48.36 | zenitraM | 2012/02/28 |
22:48.46 | zenitraM | what hipboi said at.. 12:18.58, no idea of which timezone |
22:49.01 | zenitraM | for some reason the logbot decided to log <PROTECTED> instead of the line of code |
22:49.07 | mnemoc | zenitraM: we are on the same zone |
22:49.12 | Faqtotum | rikers.org time, whatever that is |
22:49.26 | zenitraM | mnemoc: i know, but the bot might not be :P |
22:52.02 | zenitraM | mnemoc: stop searching |
22:52.14 | zenitraM | hipboi added it here: http://git.hands.com/?p=u-boot.git;a=commit;h=f501a2cfd78fc65eed26c408159acef7e8f1a9b9 |
22:52.50 | mnemoc | the only code I see taht day is http://dpaste.com/742972/ |
22:53.25 | zenitraM | that's it, the second line |
22:53.51 | zenitraM | but tom commited it later, in fact now lichee-dev u-boot will output correctly |
22:53.58 | zenitraM | Faqtotum: get and compile this u-boot: http://git.hands.com/?p=u-boot.git;a=tree;h=refs/heads/lichee-dev;hb=refs/heads/lichee-dev |
22:54.00 | mnemoc | btw, my uboot repo keeps a mirror of hipboi's if you prefer github's ui |
22:54.21 | mnemoc | I do :p |
22:54.34 | zenitraM | nice to know :P |
22:56.43 | Faqtotum | it was "protected" because the line started with a space |
22:57.31 | Faqtotum | zenitraM: will that boot from nand, though? |
22:57.58 | zenitraM | it should |
22:58.18 | zenitraM | the one that boots from mmc is lichee-dev-mmc |
22:58.50 | zenitraM | just replace the u-boot.bin and everything *should* work, but this time with logging |
22:58.58 | Faqtotum | i will try |
23:21.03 | zenitraM | o.o |
23:21.23 | zenitraM | connecting the sata drive i bought to my macbook using a usb-to-sata adapter... makes the trackpad act wonky |
23:21.52 | zenitraM | connected directly or using a hub, both on osx and linux |
23:22.45 | zenitraM | aliens. |
23:24.38 | Faqtotum | ok, i get output from uboot, but no boot delay to escape boot |
23:25.53 | Faqtotum | zenitraM: ^ |
23:26.31 | zenitraM | Faqtotum: okay.. so you need to modify the u-boot environment |
23:26.42 | zenitraM | to make it delay |
23:28.09 | Faqtotum | how? |
23:28.19 | Faqtotum | i can't make the crc |
23:29.15 | Faqtotum | zenitraM: ^ |
23:29.35 | zenitraM | mmm |
23:29.53 | zenitraM | there was a tool to alter it in linux |
23:30.08 | Faqtotum | zenitraM: got URL? |
23:30.25 | zenitraM | apt-get install uboot-envtools |
23:47.03 | Faqtotum | zenitraM: that requires an mtd device |
23:47.28 | zenitraM | tsk, right |
23:47.40 | zenitraM | mmm i don't remember how i did on mine |