Difference between revisions of "DHT-Walnut"

From eLinux.org
Jump to: navigation, search
Line 1: Line 1:
this information is in updating
+
DHT-Walnut is a shortened name for the Digital Home Technologies PCB 01070201 Rev. 1.1. The DHT-Walnut board is based on the AMCC-Walnut (still available, and still expensive :P). It is a more improved board described at www.amcc.com. A "walnut" searching will inform about schematic and software. Also keep  attention @ DENX: they  have developed a lot for the AMCC-Walnut board, and you could find a linux patch for your problem, prettier documentation, developer suit, and much more: in case, you are suggested to have a look to their web pages.
please contact
+
  
speeder@alice.it
+
Well, the board consists of:
  
daredevil-coder@hotmail.com
+
* [:PPC405GP:PowerPC 405GP] running at 266mhz
 +
* PC133 SDRAM slot, currently, only supports single sidded DIMMs
 +
* On-chip 405GP ethernet, board doesn't have an ethernet MAC address (the monitor/bootloader is able to fix it)
 +
* DCE serial port, speeds up to 230k, only tested to 115200bps
 +
* two pci slots, keyed for 5V only cards
 +
* Promise Technologies ["PDC20265"] IDE
 +
* 512k of boot flash AMD 29LV040B [attachment:amd29lv040b.pdf datasheet]
 +
  * it is soldered on the PCB
 +
  * if you like to use a socket you have to consider the bootloader will check for the flash manufactor ID, so or you replace the 29LV040B with an other socked-29LV040B, or you have to modify the bootloader
 +
* 12v dc powered
 +
  * 2A max
 +
  * it is able to feed the hard disk
 +
* 6.00" x 7.5" board size
 +
The system's most common configuration seems to be:
 +
 
 +
* System PCB
 +
* no RTC (the real time clock chip is missing)
 +
* 32M PC133 SDRAM DIMM
 +
  * the board has issues with more than 128M: if you inspect the pcb, you will see that the DIMM connector has same pin missing, this is the reason why you can't use DIMM bigger than 128M
 +
* PCI IEEE-1394 card supported by OHCI driver
 +
* PCI additional ethernet board
 +
  * needed cause the on board ethernet is implemented by the IBM-ppc-405GP, for example netbsd is not able to drive it, so in case you need an additional board, the one provided with DHT is good enough
 +
* PPCBoot v.1.1.2 in flash (it has issues with environment, it need to be replaced with a gooder one)
 +
an image of the board:
 +
 
 +
attachment:com1191.jpg
 +
 
 +
== JTAG & OCD Commander ==
 +
The OCD Commander is macraigor's free debugger software, which allows you to connect to your supported target type chip via the On-Chip Debug port (BDM or JTAG) using a Macraigor hardware device. You will be able to test the connection, memory access, modify memory and registers, run code and more using this product. This debugger is not designed to be used to program flash devices connected to your target.
 +
 
 +
The OCD Commander software is supported under Windows 98/ME, NT, 2000, 2003, XP operating systems
 +
 
 +
supported devices
 +
 
 +
* mpDemon
 +
* Raven
 +
* Wiggle
 +
* usb2demon
 +
* usb2sprite
 +
* usbwiggler
 +
(see [:DHT-WalnutAddJ10:How To build the JTAG Wiggle interface & add the JTAG connector at J10])
 +
 
 +
Just in case you make a brick, you could fix the jam, using this procedure: [:DHT-WalnutJtagBootloaderInstallation:JTAG Bootloader Installation]
 +
 
 +
Experimental hack to set a hardware breakpoint inside OCD Commander attachment:hardbreak.tgz * OCD Commander macro file to dump the CPU configuration (all but PCI) attachment:dump_config.mac
 +
 
 +
* OCD Commander macro file to configure the system for recovery attachment:recovery_config.mac
 +
* CPU configuration of the system after a warm reset attachment:warm_reset.config
 +
* CPU configuration of the system once ppcboot v1.1.2 is up and running attachment:ppcboot.config
 +
* CPU configuration of the system once ppcboot v1.1.6 is up and running attachment:ppcboot_116.config
 +
* Example OCD logfile of the using the recovery macro to load ppcboot attachment:ocd_recovery_log.txt
 +
* Example console log from ppcboot v.1.1.6 running from ram after recovery macro attachment:ocd_recovery_console_log.txt
 +
== Bootloaders ==
 +
* ppcboot
 +
  * Here is the latest ppcboot 1.1.6 patch, as is, it will build for flashing at 0xfff80000 as a replacement for the pcboot-1.1.2 that comes with the board.
 +
  * attachment:patch-ppcboot-1.1.6-km2 Original sources for ppcboot: ftp://ftp.denx.de/pub/ppcboot/ppcboot-1.1.6.tar.bz2
 +
  * Here is a binary for those without a toolchain. attachment:ppcboot1.1.6.1.bin crc = 083fb0a3
 +
* S-Record attachment:ken_ppcboot.srec
 +
  * use this (at your own risk) see the detailed update procedure description: [:DHT-WalnutInstallingTheUpdatedBootloader:Installing the Updated Bootloader]
 +
* U-Boot
 +
  * It is a significantly updated replacement for ppcboot.
 +
  * [:DHT-Walnut-U-Boot:U-Boot for the DHT-Walnut]
 +
  * [http://www.denx.de/wiki/view/DULG/Manual?stickboard=walnut DENX U-Boot and Linux Guide for Walnut  ]
 +
== Linux Kernels ==
 +
* Version 2.4 (Mostly) working kernel binary and config from jbevren with matrox fbcon and usb input support. Current issues:
 +
  * USB keyboard input doesnt seem to work, but events reach /dev/input/event0
 +
  * attachment:uImage
 +
  * attachment:config
 +
* Version 2.6
 +
See: [:DHT-Walnut2.6LinuxKernel:2.6 Linux kernel for the DHT-Walnut].
 +
== Userland ==
 +
* [:DHT-Walnut-DebianInstall:Debian GNU/Linux netboot installer] -- Install Debian from the internet to a hard disk.
 +
* [http://www.netbsd.org/Ports/evbppc/ Netbsd] has a port for "IBM PowerPC 405GP based Walnut evaluation board", this is not the DHT-Walnut, this is an other way to call the AMCC-Walnut (yes just to be confusing). Ok, it is not for DHT-Walnut, but this port could be (easealy / hardly) adapted to the DHT-Walnut with some work / over work.''' '''
 +
== Hardware that is known to work with Linux ==
 +
There is a list of the Hardware that is known to work (and not to work) with this board.
 +
 
 +
[:DHT-Walnut-Known-Working-Hardware:see it, here] and feel free to add, comment, feedback about it.
 +
 
 +
Linux has a problem in the source's tree: the Walnut has been originally ported to arch=ppc, while the new kernel tree is around arch=powerpcc, for this reason you need to specify the right arch or your compiler will have issues. Developers will port everything to arch=powerppc in the future. Kernel 2.6.12 is free of this problem, newer than .12 have it.
 +
 
 +
== How-To's ==
 +
* How To [:DHT-WalnutInstallingTheUpdatedBootloader:replace the bootloader with ppcboot 1.1.6]
 +
* How To [:DHT-Walnut-U-Boot:replace the bootloader with U-boot 1.1.4]
 +
* How To [:DHT-WalnutJtagBootloaderInstallation:recover from "Brickage"]
 +
* How To [:DHT-WalnutBootViaTftp:boot via tftp]
 +
* How To [:DHT-WalnutBootingFromHdd:boot from Hard Disk]
 +
* How To [:DHT-WalnutGPIO:control the Green Media LED and J5]
 +
* How To [:DHT-WalnutUsefullProjects:do something useful with your board]
 +
* More to come...
 +
== People you could contact if you need help ==
 +
* people on irc freenode #edev #mklinux may be asked about
 +
* ddc (i'm currently use this board for an university project running gentoo-ppc)
 +
  * msn daredevil-coder@hotmail.com
 +
  * email mr.ddc@alice.it
 +
* you ... if you want ;-)

Revision as of 19:39, 31 May 2007

DHT-Walnut is a shortened name for the Digital Home Technologies PCB 01070201 Rev. 1.1. The DHT-Walnut board is based on the AMCC-Walnut (still available, and still expensive :P). It is a more improved board described at www.amcc.com. A "walnut" searching will inform about schematic and software. Also keep attention @ DENX: they have developed a lot for the AMCC-Walnut board, and you could find a linux patch for your problem, prettier documentation, developer suit, and much more: in case, you are suggested to have a look to their web pages.

Well, the board consists of:

* [:PPC405GP:PowerPC 405GP] running at 266mhz
* PC133 SDRAM slot, currently, only supports single sidded DIMMs
* On-chip 405GP ethernet, board doesn't have an ethernet MAC address (the monitor/bootloader is able to fix it)
* DCE serial port, speeds up to 230k, only tested to 115200bps
* two pci slots, keyed for 5V only cards
* Promise Technologies ["PDC20265"] IDE
* 512k of boot flash AMD 29LV040B [attachment:amd29lv040b.pdf datasheet]
 * it is soldered on the PCB
 * if you like to use a socket you have to consider the bootloader will check for the flash manufactor ID, so or you replace the 29LV040B with an other socked-29LV040B, or you have to modify the bootloader
* 12v dc powered
 * 2A max
 * it is able to feed the hard disk
* 6.00" x 7.5" board size

The system's most common configuration seems to be:

* System PCB
* no RTC (the real time clock chip is missing)
* 32M PC133 SDRAM DIMM
 * the board has issues with more than 128M: if you inspect the pcb, you will see that the DIMM connector has same pin missing, this is the reason why you can't use DIMM bigger than 128M
* PCI IEEE-1394 card supported by OHCI driver
* PCI additional ethernet board
 * needed cause the on board ethernet is implemented by the IBM-ppc-405GP, for example netbsd is not able to drive it, so in case you need an additional board, the one provided with DHT is good enough
* PPCBoot v.1.1.2 in flash (it has issues with environment, it need to be replaced with a gooder one)

an image of the board:

attachment:com1191.jpg

JTAG & OCD Commander

The OCD Commander is macraigor's free debugger software, which allows you to connect to your supported target type chip via the On-Chip Debug port (BDM or JTAG) using a Macraigor hardware device. You will be able to test the connection, memory access, modify memory and registers, run code and more using this product. This debugger is not designed to be used to program flash devices connected to your target.

The OCD Commander software is supported under Windows 98/ME, NT, 2000, 2003, XP operating systems

supported devices

* mpDemon
* Raven
* Wiggle
* usb2demon
* usb2sprite
* usbwiggler

(see [:DHT-WalnutAddJ10:How To build the JTAG Wiggle interface & add the JTAG connector at J10])

Just in case you make a brick, you could fix the jam, using this procedure: [:DHT-WalnutJtagBootloaderInstallation:JTAG Bootloader Installation]

Experimental hack to set a hardware breakpoint inside OCD Commander attachment:hardbreak.tgz * OCD Commander macro file to dump the CPU configuration (all but PCI) attachment:dump_config.mac

* OCD Commander macro file to configure the system for recovery attachment:recovery_config.mac
* CPU configuration of the system after a warm reset attachment:warm_reset.config
* CPU configuration of the system once ppcboot v1.1.2 is up and running attachment:ppcboot.config
* CPU configuration of the system once ppcboot v1.1.6 is up and running attachment:ppcboot_116.config
* Example OCD logfile of the using the recovery macro to load ppcboot attachment:ocd_recovery_log.txt
* Example console log from ppcboot v.1.1.6 running from ram after recovery macro attachment:ocd_recovery_console_log.txt

Bootloaders

* ppcboot
 * Here is the latest ppcboot 1.1.6 patch, as is, it will build for flashing at 0xfff80000 as a replacement for the pcboot-1.1.2 that comes with the board.
 * attachment:patch-ppcboot-1.1.6-km2 Original sources for ppcboot: ftp://ftp.denx.de/pub/ppcboot/ppcboot-1.1.6.tar.bz2
 * Here is a binary for those without a toolchain. attachment:ppcboot1.1.6.1.bin crc = 083fb0a3
* S-Record attachment:ken_ppcboot.srec
 * use this (at your own risk) see the detailed update procedure description: [:DHT-WalnutInstallingTheUpdatedBootloader:Installing the Updated Bootloader]
* U-Boot
 * It is a significantly updated replacement for ppcboot.
 * [:DHT-Walnut-U-Boot:U-Boot for the DHT-Walnut]
 * DENX U-Boot and Linux Guide for Walnut  

Linux Kernels

* Version 2.4 (Mostly) working kernel binary and config from jbevren with matrox fbcon and usb input support. Current issues:
 * USB keyboard input doesnt seem to work, but events reach /dev/input/event0
 * attachment:uImage
 * attachment:config
* Version 2.6
See: [:DHT-Walnut2.6LinuxKernel:2.6 Linux kernel for the DHT-Walnut].

Userland

* [:DHT-Walnut-DebianInstall:Debian GNU/Linux netboot installer] -- Install Debian from the internet to a hard disk.
* Netbsd has a port for "IBM PowerPC 405GP based Walnut evaluation board", this is not the DHT-Walnut, this is an other way to call the AMCC-Walnut (yes just to be confusing). Ok, it is not for DHT-Walnut, but this port could be (easealy / hardly) adapted to the DHT-Walnut with some work / over work. 

Hardware that is known to work with Linux

There is a list of the Hardware that is known to work (and not to work) with this board.

[:DHT-Walnut-Known-Working-Hardware:see it, here] and feel free to add, comment, feedback about it.

Linux has a problem in the source's tree: the Walnut has been originally ported to arch=ppc, while the new kernel tree is around arch=powerpcc, for this reason you need to specify the right arch or your compiler will have issues. Developers will port everything to arch=powerppc in the future. Kernel 2.6.12 is free of this problem, newer than .12 have it.

How-To's

* How To [:DHT-WalnutInstallingTheUpdatedBootloader:replace the bootloader with ppcboot 1.1.6]
* How To [:DHT-Walnut-U-Boot:replace the bootloader with U-boot 1.1.4]
* How To [:DHT-WalnutJtagBootloaderInstallation:recover from "Brickage"]
* How To [:DHT-WalnutBootViaTftp:boot via tftp]
* How To [:DHT-WalnutBootingFromHdd:boot from Hard Disk]
* How To [:DHT-WalnutGPIO:control the Green Media LED and J5]
* How To [:DHT-WalnutUsefullProjects:do something useful with your board]
* More to come...

People you could contact if you need help

* people on irc freenode #edev #mklinux may be asked about
* ddc (i'm currently use this board for an university project running gentoo-ppc)
 * msn daredevil-coder@hotmail.com
 * email mr.ddc@alice.it
* you ... if you want ;-)