**** BEGIN LOGGING AT Wed Oct 19 02:59:57 2011 Oct 19 06:30:33 lilstevie: I was trying to run sudo nvflash --sync with my transformer and I get : rcm version 0X4 Command send failed (usb write failed) Oct 19 06:31:13 lilstevie: could you give a hint as to what I might be doing wrong? Oct 19 06:31:13 That error could just mean you forgot your SBK or so Oct 19 06:31:22 http://cyber.com.au/~twb/doc/tf101.html Oct 19 06:32:01 * shadeslayer looks Oct 19 06:32:41 twb: I also could not find good documentation about nvflash, any ideas where I can find that? Oct 19 06:32:50 I'm having a bit of a hard time figuring this out :) Oct 19 06:33:48 http://cyber.com.au/~twb/doc/tf101.txt now contains a slightly updated version Oct 19 06:34:04 shadeslayer: there isn't any, nvflash is a piece of shit internal nvidia bodge thing Oct 19 06:34:18 :S Oct 19 06:34:54 Alright, hopefully that link contains info on what actually goes on during booting Oct 19 06:35:56 Those links are my notes Oct 19 06:36:03 That why they have my name in them Oct 19 06:36:23 oh ... awesome, I didn't notice that ... Oct 19 06:36:34 it's just been a long day ... Oct 19 06:37:11 no problem Oct 19 06:40:16 hmm .. Oct 19 06:40:23 twb: so I now use : --sbk 0x1682CCD8 0x8A1A43EA 0xA532EEB6 0xECFE1D98 Oct 19 06:40:24 erm Oct 19 06:40:43 sudo ./nvflash --sbk 0x1682CCD8 0x8A1A43EA 0xA532EEB6 0xECFE1D98 --sync Oct 19 06:40:48 and I get the same thing Oct 19 06:41:01 and iirc the tablet installed a firmware update when it arrived Oct 19 06:41:05 Did you bounce it back into APX mode again? Oct 19 06:41:15 no, it just shutdown Oct 19 06:41:28 Nvflash started Oct 19 06:41:28 rcm version 0X4 Oct 19 06:41:28 Command send failed (usb write failed) Oct 19 06:41:35 Tell you what, read that whole .txt file then come back if you still have problems Oct 19 06:42:13 uh ok Oct 19 06:56:28 twb: question, before you did all of this, did you update your tablet firmware? Oct 19 06:56:39 and can a firmware update change the sbk? Oct 19 06:57:49 If you mean android, then no, I don't give a shit about android. But the processes I describe should work for android as well. Oct 19 06:58:15 The firmware does not decide the SBK, the SBK is baked into the hardware while in the factory Oct 19 06:58:55 right, I don't want android as well ... Oct 19 06:59:10 * shadeslayer goes back to reading the text file Oct 19 06:59:18 That's fine then. There was a jackass in here earlier that wanted help with android Oct 19 06:59:37 :/ Oct 19 07:09:04 twb: another question, does it matter if I have sbk version 2? Oct 19 07:10:13 shadeslayer: what is an "sbk version 2" ? Oct 19 07:10:20 shadeslayer: do you mean a 3G transformer? Oct 19 07:10:45 nope, It's a wifi version, but when i run sbkcheck i get : [~/tablet]$ sudo ./sbkcheck Oct 19 07:10:45 Found APX mode device Oct 19 07:10:45 Chip UID: 0x428908841c0e117 Oct 19 07:10:45 Detected SBKv2 Oct 19 07:10:55 Never heard of sbkcheck Oct 19 07:11:13 http://forum.xda-developers.com/showthread.php?t=1290503 Oct 19 07:12:01 Goddamn munchkins and their pre-compiled ia32 binaries :-/ Oct 19 07:12:10 heh Oct 19 07:13:20 They don't even ship the sources Oct 19 07:13:38 yeah :( Oct 19 07:13:47 So I have no idea what that program does and I'm not going to decompile it or run it to find out Oct 19 07:14:00 lilstevie is here, he probably knows Oct 19 07:14:23 twb: I actually used that program because one of his posts mentioned it Oct 19 07:14:51 http://forum.xda-developers.com/showpost.php?p=18366670&postcount=20 Oct 19 07:14:54 I am too old to deal well with stupid web fora that reinvent NNTP, poorly. Oct 19 07:18:19 alright, I'm off to sleep, will try this tomorrow Oct 19 07:18:53 thanks twb for the help :) Oct 19 08:05:39 shadeslayer: raymans app is far better than mine at testing for it Oct 19 08:06:10 shadeslayer: basically sbkdetect v2 which is raymans version, uploads a command that is encrypted with the new sbk Oct 19 13:18:14 I just downloaded and imaged my panda board with the new 11.10 server release and I am being prompted for a login/pass. Does anyone know what the default account is? I was never prompted to create one as the install instructions suggested I would be. Oct 19 13:20:48 I can't seem to find this documented anywhere. Oct 19 13:21:19 misfitx7: There is no default user/pass, it asks you to set one up during the install. Oct 19 13:22:08 misfitx7: If it didn't, then something when wrong, and you might want to try again. Oct 19 13:23:54 infinity: Thanks. I've loaded it twice thinking that may be the case but both times I got the same result. I must be missing something, I'll give it another shot I suppose. Oct 19 13:24:24 Well, what happens when you boot it the first time? Oct 19 13:24:33 It should expand the filesystem, then reboot into an installer. Oct 19 13:25:13 If that's not happening, the first bit may be failing. Your card could be bad, or too small. Oct 19 13:25:49 I watch the filesystem expand on the serial terminal, it reboots when it's done then I get a login prompt on my monitor. Oct 19 13:26:22 I can try another card. The one I'm using now worked for 11.04. It's 8Gb Oct 19 13:26:38 Wait, on your monitor? Are you still connected via serial as well? Oct 19 13:26:47 The installer should be popping up on the serial console. Oct 19 13:28:38 I am still connected via serial. But it switches over to the monitor after the first reboot. Oct 19 13:29:07 After the kernel loads and services are started Oct 19 13:31:44 I'm flashing a larger card to see where that gets me. Oct 19 13:42:26 I get the sys config with the a different/larger card. Oct 19 15:36:44 GrueMaster / ogra_ turns out my sd card reader died yesterday Oct 19 15:37:18 On your panda? Oct 19 15:37:51 GrueMaster: no, on my host pc. it wasn't writing all the data to the sd card Oct 19 15:39:05 Interesting. Could be just a cache not flushing properly. I usually run a sync after flashing an image just to be sure. Oct 19 15:39:38 Is your PC Linux or Windows based? Oct 19 15:41:23 ~lart GrueMaster Oct 19 15:41:34 GrueMaster: silly GrueMaster Oct 19 15:41:46 GrueMaster: ubuntu 10.10 Oct 19 15:42:26 GrueMaster: no, it was a complete failure of the sd card reader, looks like the 3.3v ldo was failing Oct 19 15:42:47 Ah. I had to ask. Some people are using Windows on their PC but Linux on their dev boards. We even have a tool for imaging SD cards for this situation. Oct 19 15:42:50 Bummer. Oct 19 15:43:03 GrueMaster: hehe indeed Oct 19 15:43:15 GrueMaster: i've been MS free since 1997 Oct 19 15:44:07 Heh. We should have Windows-Clean coins for our 10 year anniversaries. :P Oct 19 15:49:58 hehe Oct 19 15:51:56 But shouldn't mac users have something similar? lol Oct 19 15:53:23 austeregrim: that;s kind of like someone stop smoking tobacco and switch to meth, sure stopping tobacco is good, but.... Oct 19 15:53:38 No, they are more like connoisseurs. Twice the intake, but only 1/4 the guilt. Oct 19 16:55:47 tested out pandaboard + ubuntu 11.10 with root fs on a USB thumb drive. Got in excess of 100 FPS at 320x240. GREAT work by the team on solving the usb speed bug! Oct 19 16:56:24 not to mention that it was WAY more snappy than root on SD, and noticably more snappy than the last stable release (with root on usb) Oct 19 16:57:35 Just to clarify, the kernels for Maverick and Natty have been updated with this fix as well. Oct 19 16:58:14 yes, i am comparing pre-fix to post-fix Oct 19 18:10:14 GrueMaster, I have an idea.. would it be possible to not have to create a swap partition in the main installer, or in any event, not ship a swap file, but as soon as ubiquity pops up or perhaps (since swap isn't needed for ubiquity, memory usage is well under 150MB) on first desktop login like ecryptfs or so used to, say "hey, I notice you have a small amount of memory and no swap, do you want me to fix this up for you?" so that it doesn't have t Oct 19 18:10:14 o be shipped on the SD card image? Oct 19 18:11:14 it'd help on VMs on x86 etc. too if you didn't have to create swap partitions inside the VM especially with memory ballooning and an assumption that the host has more than enough swap to handle overcommitting Oct 19 18:11:19 Maybe for P. We can't change 11.10. Oct 19 18:11:41 sure, P is good.. its been something I've been annoyed by since Karmic though :D Oct 19 18:11:44 We did it this way intentionally because dding a large file on an SD card on the target hardware takes forever. Oct 19 18:12:07 It's actually easier to do it at install time, just more annoying to the user. Oct 19 18:12:15 No one's stopping you from deleting the file if you didn't want it. :P Oct 19 18:13:08 oh, for sure ... but it'd save some SD card space that basically doesn't get used until the user picks Firefox and opens 8 tabs.. Oct 19 18:13:53 Dunno about that. GrueMaster was showing me ubiquity OOMing on 512M systems. Oct 19 18:13:56 in the meantime by the time P comes out, zram will be nice and stable right? in the event of a missing swap partition or so maybe compressed in-memory swap would be a better idea just to have some swap around if it's truly, truly necessary Oct 19 18:15:03 I dunno. I'm not all that picky, to be honest. Oct 19 18:15:17 I still think that users who are running systems on SD for anything other than quick test purposes are Doing It Wrong. Oct 19 18:15:33 I think part of the problem is even on "512MB" systems on MX5 they're soaking a bunch for framebuffer/2D reservation Oct 19 18:15:52 so you really only have 400MB Oct 19 18:16:09 Beagle in his case, and I don't recall how much it has available. Oct 19 18:16:17 One thing to look at is zramswap. Oct 19 18:16:23 256MB on my C4 and it's infuriating Oct 19 18:16:33 I definitely agree something needs to be there just in case.. Oct 19 18:16:34 Seems to work ok on AC100. Oct 19 18:16:51 It's not actually enabled on AC100. Oct 19 18:16:58 So, yes, works great. Oct 19 18:17:31 Well, the SD desktop images are really just for show & tell anyways. It isn't hard to move the image to a usb drive using a separate system. Oct 19 18:18:11 Or a USB hard drive, or whatever. Yes. Oct 19 18:18:25 But at that point, you have enough space that losing some to swap is irrelevant. Oct 19 18:18:26 And since we don't have any real production systems beyond the AC100... Oct 19 18:18:57 And as distasteful as swap on the SD card is (and man, I really think it is), I'd rather have something that sort of works for the 2 hours someone will play with it before they realise they need faster storage. Oct 19 18:21:21 GrueMaster, zcache may well help too as an experiment.. that way you get the benefits of SD card data being put in the cache and when the system really needs it, it compresses them as they are evicted, which would help one hell of a lot in keeping real memory available Oct 19 18:21:35 or a USB key. or any slow-ass storage... Oct 19 18:22:32 actually you know this is something Linaro should be investing a ton of effort into :D Oct 19 23:30:17 shadeslayer, you about Oct 19 23:30:27 yes Oct 19 23:30:57 ok, I just wanted to say to you, just because you have an SBKv2 device don't give up Oct 19 23:31:06 work on your image creation Oct 19 23:31:11 lilstevie: oh ... ok Oct 19 23:31:18 I didn't give up :) Oct 19 23:31:24 you can still run the image in qemu or something Oct 19 23:31:25 I'm just busy with a sprint in MV Oct 19 23:31:28 uh Oct 19 23:31:34 we are working on a solution for the SBK Oct 19 23:31:47 ok, I'd like to help, lemme know how i can :) Oct 19 23:32:02 well the problem is the miniloader Oct 19 23:32:15 it is part of how nvflash work Oct 19 23:32:17 works* Oct 19 23:32:31 uh ok, I've never used nvflash, so I'll have to look that term up Oct 19 23:32:52 the bootrom shuts down communication with that 0x4 error if the messages are incorrectly encrypted Oct 19 23:33:01 we have communication Oct 19 23:33:08 until we get to miniloader Oct 19 23:33:09 ah ok Oct 19 23:33:31 miniloader is a small loader (funny that), that inits ram and usb, Oct 19 23:33:42 so that the bootloader can be sent to the device Oct 19 23:33:56 on these SBKv2 devices the current miniloader crashes Oct 19 23:34:14 or aborts Oct 19 23:34:34 or something, we don't know exactly what is happening, no debugging interface is a pain Oct 19 23:34:59 so we have been writing our own, but it is a very slow process Oct 19 23:35:14 alright, kind of understand it Oct 19 23:35:23 the bootloader before the bootloader :P Oct 19 23:35:35 look at it as a bootstrap Oct 19 23:35:37 :p Oct 19 23:35:41 :D Oct 19 23:35:57 in APX the device hasn't initialized ram Oct 19 23:36:06 or the dual A9's Oct 19 23:36:43 all there is, little ARM7TDMI core Oct 19 23:38:28 alright Oct 20 02:46:18 twb, still interested in what sbkdetectv2 does Oct 20 02:46:22 ? Oct 20 02:50:51 Im trying to customize the ARM release for backtrack. is that possible on a laptop system? would really prefer to rebuild Oct 20 02:52:55 lilstevie: sure Oct 20 02:53:02 lilstevie: although I really want u-boot.bin Oct 20 02:54:03 heh , sorry about the delay with that btw, it is crunch time at uni, last week and a half before exams, many many assignments to hand in, havent had time to decrypt and dump Oct 20 02:54:40 but basically there is an encrypted blob compiled in, that blob is the usb command "queryrcmvers" Oct 20 02:55:04 it gets sent via usb bulk transfer to the device Oct 20 02:55:21 if the command decrypts correctly it replies in plain text Oct 20 02:55:31 if not, it hangs up the device Oct 20 02:56:00 stlsaint, yes it is possible Oct 20 02:56:01 the blob itself is encrypted with the new B7+ SBK Oct 20 02:56:07 ohai Lopi Oct 20 02:56:09 stlsaint, simply remove/install whatever packages you want Oct 20 02:56:26 stlsaint, switch to the DE/WM or your choice, etc. Oct 20 02:56:33 fancy seeing you here :p Oct 20 02:56:33 ohai lilstevie Oct 20 02:56:42 big surprise right? ;p Oct 20 02:57:03 Lopi: well im not sure how Oct 20 02:57:05 yeah seeing as you haven't really even been on irc lately Oct 20 02:57:15 Lopi: i see that mounting/chroot is not the same as with regular iso Oct 20 02:57:26 as wiht a .img file Oct 20 02:58:14 twb, thing is though, the source for sbkdetect will probably not be released Oct 20 02:59:21 stlsaint, for example, you could boot the img in qemu and install/remove packages, etc. Oct 20 02:59:36 stlsaint, your changes will be saved and the img will still be intact Oct 20 02:59:56 stlsaint, additionally, you can mount the image and edit config files if it's small changes **** ENDING LOGGING AT Thu Oct 20 02:59:57 2011