08:30.01 | *** join/#hawkboard eFfeM (~frans@j200125.upc-j.chello.nl) |
08:45.53 | *** join/#hawkboard _roger_ (~a0740758@nat/ti/x-jhgfxnvcbxxxpkgw) |
11:20.57 | *** join/#hawkboard _roger_ (~a0740758@nat/ti/x-lohvywnheqnjrpbg) |
11:27.49 | eFfeM | made a pretty nice setup, borrowed a 80 GB ssd disk to connect to my hawk, works like a charm |
11:28.06 | eFfeM | disk is more than twice the price of the hawkboard :-) |
11:30.08 | *** join/#hawkboard koalo (~florian@d026047.adsl.hansenet.de) |
11:31.25 | *** join/#hawkboard koalo (~florian@d026047.adsl.hansenet.de) |
14:28.26 | *** join/#hawkboard koalo_ (~florian@c145238.adsl.hansenet.de) |
18:57.46 | *** join/#hawkboard eFfeM (~frans@j200125.upc-j.chello.nl) |
19:06.40 | auzieman | some how got bootme to happen, still haven't managed to write uImage that survives powercycling.. |
19:11.54 | eFfeM | ? |
19:13.39 | auzieman | Even though I do a nand write every time I powercycle the uImage failes to read bad crc |
19:14.19 | auzieman | If I do a fresh tftp, nand write then bootm nandaddr its fine |
19:15.05 | eFfeM | ofc because then you are booting the copy you tftp-ed, not the nand one |
19:15.06 | auzieman | tftp c0700000 uImage |
19:15.11 | eFfeM | that is ok |
19:15.16 | auzieman | Is there a better address spot for a uImage? |
19:15.42 | eFfeM | wheredo you write on nand, and what is the boot cmd you use to boot from nand ? |
19:15.43 | auzieman | nand write.e 0xc0700000 0x200000 0x200000 |
19:16.13 | auzieman | bootcmd=setenv bootargs mem=128M console=ttyS2,115200n8 root=/dev/mmcblk0p1 root |
19:16.13 | auzieman | wait ip=dhcp;nand read.e 0xc0700000 0x200000 0x200000;bootm 0xc0700000 |
19:16.36 | auzieman | everything is fine even for reboots till I powercycle.. |
19:16.39 | eFfeM | wiere did you get the 0x20000 numbers from |
19:17.02 | auzieman | the android on hawk page |
19:17.15 | auzieman | Oh and the original env from the board |
19:17.29 | auzieman | do you have to issue nand unlock, nand write, nand lock? |
19:18.16 | auzieman | I haven't read the entire manual on the omap for this board,, |
19:18.36 | auzieman | so I am trying to find a write up on the best address to write the darn uImage to.. |
19:19.25 | eFfeM | don't think unlock is needed, nand write might have complained |
19:19.43 | auzieman | I am using my mmc card as the root fs, so I don't need nand for anything except the uImage and uboot.. |
19:20.18 | auzieman | any suggestions for an arm noob like me.. |
19:20.39 | eFfeM | what does it say after the nand write ? |
19:22.28 | auzieman | nand write.e 0xc0700000 0x200000 0x200000 |
19:22.28 | auzieman | NAND write: device 0 offset 0x200000, size 0x200000 |
19:22.28 | auzieman | <PROTECTED> |
19:23.32 | eFfeM | and your kernel is smaller than 2097152 bytes |
19:24.22 | eFfeM | mine is 2185472 |
19:24.48 | eFfeM | Bytes transferred = 2185472 (215900 hex) |
19:25.27 | eFfeM | guess your kernel is that size as 0x200000 is bigger |
19:25.54 | eFfeM | personally I'd do nand write.e 0xc0700000 0x200000 ${filesize} |
19:26.16 | eFfeM | might also be $filesize |
19:26.35 | eFfeM | oh one more thing, your nand does not have a bad block in that area does it |
19:26.52 | eFfeM | it says so while booting and you can get it i think from nand bad |
19:29.02 | auzieman | actually I do have a bad block good point.. let me check where those addresses are.. |
19:29.48 | auzieman | Bad block table found at page 65472, version 0x01 |
19:29.49 | auzieman | Bad block table found at page 65408, version 0x01 |
19:29.49 | auzieman | nand_read_bbt: Bad block at 0x028c0000 |
19:29.49 | auzieman | nand_read_bbt: Bad block at 0x031e0000 |
19:29.49 | auzieman | nand_read_bbt: Bad block at 0x06760000 |
19:30.11 | auzieman | I saw somewhere people saying this was common |
19:30.30 | auzieman | but that all looks well before 0700 |
19:33.31 | auzieman | nand write.e 0xc0700000 0x200000 $filesize |
19:33.31 | auzieman | NAND write: device 0 offset 0x200000, size 0x21644c |
19:33.31 | auzieman | Attempt to write non page aligned data |
19:33.31 | auzieman | <PROTECTED> |
19:33.41 | auzieman | when I try.. |
19:34.04 | eFfeM | ah, but that tells you you are wriitng more than 2097152 bgytes |
19:34.19 | eFfeM | try as size 0x220000 |
19:34.23 | eFfeM | need to go now |
19:34.28 | eFfeM | gl |
19:34.31 | auzieman | thanks.. |
19:34.37 | auzieman | seriously |
19:34.46 | auzieman | blog this stuff.. |
19:40.08 | auzieman | YEa!!!!!! |
19:40.15 | auzieman | It booted cold!!! |
19:40.25 | auzieman | bows to eFfeM |
19:40.38 | auzieman | now for usbserial in agstrom kernel.. |
19:40.42 | auzieman | thank god.. |