Re: u-boot and gpt
On 11 Jun 2012, at 00:19, kqt4a...@gmail.com kqt4a...@gmail.com wrote: On Sun, 10 Jun 2012, Clint Adams wrote: On Sun, Jun 10, 2012 at 05:55:41PM -0500, kqt4a...@gmail.com wrote: For a Guruplug where would I define this. I have compiled many packages that use the configure script but this a bit different. You could add it to include/configs/guruplug.h . The other partition schemes are enabled in include/configs/mv-common.h . Got it. Rebuilt u-boot, installed and booted ok. One thing, after install I get *** Warning - bad CRC, using default environment any ideas? It means it can't find a correct environment, either it's been over written during the flash or it's stored in a different place on the original firmware. You can either shrug, run resetenv and set the environment up again or pick apart the settings of the old uboot environment from the backup you made :) -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/11448a2b-4769-47c9-a8b3-e256aeebb...@night-shade.org.uk
Re: u-boot and gpt
On Mon, 11 Jun 2012, Tim Fletcher wrote: On 11 Jun 2012, at 00:19, kqt4a...@gmail.com kqt4a...@gmail.com wrote: On Sun, 10 Jun 2012, Clint Adams wrote: On Sun, Jun 10, 2012 at 05:55:41PM -0500, kqt4a...@gmail.com wrote: For a Guruplug where would I define this. I have compiled many packages that use the configure script but this a bit different. You could add it to include/configs/guruplug.h . The other partition schemes are enabled in include/configs/mv-common.h . Got it. Rebuilt u-boot, installed and booted ok. One thing, after install I get *** Warning - bad CRC, using default environment any ideas? It means it can't find a correct environment, either it's been over written during the flash or it's stored in a different place on the original firmware. You can either shrug, run resetenv and set the environment up again or pick apart the settings of the old uboot environment from the backup you made :) I apologize for continuing this on a Debian list but the forum at plugcomuting.org refuses to allow me to register. I can rebuild the environment from my backup but I used guruplug-installer runme.sh to burn u-boot and it reports to have written the proper variables. [rray@grumpy2 guruplug-installer]$ sudo ./runme.sh my_u-boot.kwb [sudo] password for rray: Preparing environment variables file ... Burning uboot and environment variables ... This will take few minutes ... Open On-Chip Debugger 0.2.0-in-development (2009-05-17-10:32) svn:1800M BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS $URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $ 2000 kHz dcc downloads are enabled Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (Manufacturer: 0x1e9, Part: 0x0a02, Version: 0x2) Info : JTAG Tap/device matched Error: unknown EmbeddedICE version (comms ctrl: 0x0018) Warn : no telnet port specified, using default port Warn : no gdb port specified, using default port Warn : no tcl port specified, using default port target state: halted target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x00d3 pc: 0x MMU: disabled, D-Cache: disabled, I-Cache: disabled 0 0 1 0: 00052078 NAND flash device 'NAND 512MiB 3,3V 8-bit' found successfully erased blocks 0 to 2 on NAND flash device 'NAND 512MiB 3,3V 8-bit' wrote file openocd/uboot.bin to NAND flash 0 up to offset 0x00038800 in 35.327751s target state: halted target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x00d3 pc: 0x MMU: disabled, D-Cache: disabled, I-Cache: disabled 0 0 1 0: 00052078 NAND flash device 'NAND 512MiB 3,3V 8-bit' found successfully erased blocks 2 to 4 on NAND flash device 'NAND 512MiB 3,3V 8-bit' wrote file openocd/uboot-env.bin to NAND flash 0 up to offset 0x0006 in 20.021597s U-boot should be up and running now. Open your console ... Should I be concerned about this coming back to bite me or maybe just ignore it? Richard -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.DEB.2.00.1206110341210.4809@tehzcl2.tehzcl-arg
Re: u-boot and gpt
On Mon, Jun 11, 2012 at 03:47:38AM -0500, kqt4a...@gmail.com wrote: I apologize for continuing this on a Debian list but the forum at plugcomuting.org refuses to allow me to register. I can rebuild the environment from my backup but I used guruplug-installer runme.sh to burn u-boot and it reports to have written the proper variables. [rray@grumpy2 guruplug-installer]$ sudo ./runme.sh my_u-boot.kwb Your runme.sh probably expects the u-boot environment to be stored at 0xa, whereas mainline and Debian u-boot images would have it at 0x4. You might also consider redoing your MTD setup so as to keep your environment in a separate partition from the U-Boot executable if this going to be a frequent problem for you. -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120611193929.ga5...@scru.org
Re: u-boot and gpt
On 10/06/12 19:23, kqt4a...@gmail.com wrote: I realize this is not a Debian question but I am hoping some has run into this. I installed u-boot Marvell version U-Boot 2011.12 (Jan 08 2012 - 21:46:50) Marvell-GuruPlug gcc (Debian 4.6.2-9) 4.6.2 GNU ld (GNU Binutils for Debian) 2.22 And installed Debian with no trouble but u-boot can not see the GPT partition table. From what I read GPT support was added to u-boot several years ago. Is there something I need to do to get this to work? You might have to build from source, it depends how happy you are about cross compiling. I also happen to know that the OpenWRT project have just updated there boot build to the current release, I have a compiled binary for the sheevaplug I've no idea if it will work on the guruplug thou. -- Tim Fletchert...@night-shade.org.uk -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fd4e855.8040...@night-shade.org.uk
Re: u-boot and gpt
On Sun, Jun 10, 2012 at 01:23:09PM -0500, kqt4a...@gmail.com wrote: And installed Debian with no trouble but u-boot can not see the GPT partition table. From what I read GPT support was added to u-boot several years ago. Is there something I need to do to get this to work? Try patching the u-boot source package to enable CONFIG_EFI_PARTITION for the relevant boards. -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120610211248.ga14...@scru.org
Re: u-boot and gpt
On Sun, Jun 10, 2012 at 05:55:41PM -0500, kqt4a...@gmail.com wrote: For a Guruplug where would I define this. I have compiled many packages that use the configure script but this a bit different. You could add it to include/configs/guruplug.h . The other partition schemes are enabled in include/configs/mv-common.h . -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120610230108.ga22...@scru.org
Re: u-boot and gpt
On Sun, 10 Jun 2012, Clint Adams wrote: On Sun, Jun 10, 2012 at 05:55:41PM -0500, kqt4a...@gmail.com wrote: For a Guruplug where would I define this. I have compiled many packages that use the configure script but this a bit different. You could add it to include/configs/guruplug.h . The other partition schemes are enabled in include/configs/mv-common.h . Got it. Rebuilt u-boot, installed and booted ok. One thing, after install I get *** Warning - bad CRC, using default environment any ideas? Here is the full display. Marvell U-Boot 2011.12-06918-gf33b06f-dirty (Jun 10 2012 - 18:01:14) Marvell-GuruPlug SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 512 MiB *** Warning - bad CRC, using default environment In:serial Out: serial Err: serial Net: egiga0 Warning: failed to set MAC address , egiga1 Warning: failed to set MAC address 88E1121 Initialized on egiga0 PHY reset timed out 88E1121 Initialized on egiga1 Hit any key to stop autoboot: 0 Richard -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.DEB.2.00.1206101812230.4809@tehzcl2.tehzcl-arg