Difference between revisions of "DHT-Walnut"

From eLinux.org
Jump to: navigation, search
Line 1: Line 1:
== Note ==
+
other DHT-Walnut pages: [[DHT-Walnut-Flameman]]
  
'''please note''' this page is in updating, it has been merging from the old version of wiky, so keep patient, i will rewrite this documentation in pretty as soon as possible
+
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.
Do not move this page, let me rewrite the doc. in case you need a pdf copy of the old doc, or if you need attachments feel free to ask me for them ( speeder@alice.it )
 
  
 +
currently available [http://www.bgmicro.com/prodinfo.asp?prodid=COM1191 HERE] Oops, '''sold out''' 2/6/2006
  
--[[User:Flameman|Flameman]] 00:15, 1 June 2007 (EEST)
 
  
== People you could contact if you need help ==
+
The board consists of:
* people on irc freenode #edev #mklinux may be asked about
+
* [[PPC405 GP|PowerPC 405GP]] running at 266mhz
* ddc/flameman, i'm currently use this board for an university project running gentoo-ppc, email speeder@alice.it
+
* PC133 SDRAM slot, currently, only supports single sidded DIMMs
* you ... if you want ;-)
+
* On-chip 405GP ethernet, board doesn't have an ethernet MAC address
 +
* DCE serial port, speeds up to 230k, only tested to 115200
 +
* two pci slots, keyed for 5V only cards
 +
* Promise Technologies [[PDC20265]] IDE
 +
* 512k of boot flash AMD 29LV040B [[Media:amd29lv040b.pdf|datasheet]]
 +
* 12v dc powered
 +
* PPC40XX [[JTAG]] on J10
 +
* 6.00" x 7.5" board size
  
== Introduction ==
+
The system's most common configuration seems to be:
 +
* System PCB
 +
* 32M PC133 SDRAM DIMM
 +
** Unknown PCI IEEE-1394 card supported by OHCI driver
 +
** PPCBoot v.1.1.2 in flash
  
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.
+
Hardware that is known to work (and not to work) with this board can be found [[DHT-Walnut Known Working Hardware |here]]
  
Well, the board consists of:
+
GPSFan (Freenode IRC on #edev) was helpful in providing an image of the board:
  
* '''CPU''' PowerPC 405GP running at 266mhz
+
[[Image:com1191.jpg]]
* '''RAM''' PC133 SDRAM slot, currently, only supports single sidded DIMMs
 
* '''LAN''' On-chip 405GP ethernet, board doesn't have an ethernet MAC address (the monitor/bootloader is able to fix it)
 
* '''UART''' DCE serial port, speeds up to 230k, only tested to 115200bps
 
* '''PCI''' two pci slots, keyed for 5V only cards
 
* '''IDE''' Promise Technologies PDC20265 IDE
 
* '''ROM''' 512k of boot flash, AMD 29LV040B (amd29lv040b.pdf), 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
 
* '''POWER''' the board need to be 12v dc powered 2A max, it is able to feed the hard disk
 
* '''System PCB '''6.00" x 7.5" board size
 
* '''RTC''' the real time clock chip is missing
 
* '''RAM''' 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
 
* '''FIRMWARE''' 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 ==
+
Some info in the pdf [http://supernova.stanford.edu/dingdong/ HERE]
  
an image of the board:
 
  
[[Image:com1191.jpg]]
+
Experimental hack to set a hardware breakpoint inside OCD Commander [[Media:hardbreak.tgz|hardbreak.tgz]
  
== JTAG & OCD Commander ==
+
* OCD Commander macro file to dump the CPU configuration (all but PCI) [[Media:Dump_config.mac|dump_config.mac]]
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.
+
* OCD Commander macro file to configure the system for recovery [[Media:Recovery_config.mac|recovery_config.mac]]
The OCD Commander software is supported under Windows 98/ME, NT, 2000, 2003, XP operating systems
+
* CPU configuration of the system after a warm reset [[Media:Warm_reset.config|warm_reset.config]]
 +
* CPU configuration of the system once ppcboot v1.1.2 is up and running [[Media:Ppcboot.config|ppcboot.config]]
 +
* CPU configuration of the system once ppcboot v1.1.6 is up and running [[Media:Ppcboot_116.config|ppcboot_116.config]]
 +
* Example OCD logfile of the using the recovery macro to load ppcboot [[Media:Ocd_recovery_log.txt|ocd_recovery_log.txt]]
 +
* Example console log from ppcboot v.1.1.6 running from ram after recovery macro [[Media:Ocd_recovery_console_log.txt|ocd_recovery_console_log.txt]]
  
supported devices
+
== Bootloaders ==
 +
* ppcboot
  
* mpDemon
+
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.
* Raven
 
* Wiggle
 
* usb2demon
 
* usb2sprite
 
* usbwiggler
 
  
See How To build the JTAG Wiggle interface & add the JTAG connector at J10
+
[[Media:Patch-ppcboot-1.1.6-km2|patch-ppcboot-1.1.6-km2]]
Just in case you make a brick, you could fix the jam, using this procedure: JTAG Bootloader Installation
 
  
 +
Original sources for ppcboot: [ftp://ftp.denx.de/pub/ppcboot/ppcboot-1.1.6.tar.bz2]
  
== OCD Commander Experimental hack ==
+
Here is a binary for those without a toolchain.
  
Experimental hack to set a hardware breakpoint inside OCD Commander [media:hardbreak.tgz]  
+
[[Media:Ppcboot1.1.6.1.bin|ppcboot1.1.6.1.bin]] crc = 083fb0a3
  
* OCD Commander macro file to dump the CPU configuration (all but PCI) [media:dump_config.mac]
+
To use this (at your own risk) see the detailed update procedure description: [[DHT-WalnutInstallingTheUpdatedBootloader|Installing the Updated Bootloader]]
* OCD Commander macro file to configure the system for recovery attachment:recovery_config.mac]
 
* CPU configuration of the system after a warm reset [media:warm_reset.config]
 
* CPU configuration of the system once ppcboot v1.1.2 is up and running [media:ppcboot.config]
 
* CPU configuration of the system once ppcboot v1.1.6 is up and running [media:ppcboot_116.config]
 
* Example OCD logfile of the using the recovery macro to load ppcboot [media:ocd_recovery_log.txt]
 
* Example console log from ppcboot v.1.1.6 running from ram after recovery macro [media: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: Installing the Updated Bootloader
 
 
* U-Boot
 
* U-Boot
* It is a significantly updated replacement for ppcboot.
+
 
* U-Boot for the DHT-Walnut
+
U-Boot is a significantly updated replacement for ppcboot. See: [wiki: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  ]
+
 
 +
Just in case you make a brick, there is hope: [wiki:DHT-WalnutJtagBootloaderInstallation JTAG Bootloader Installation]
  
 
== Linux Kernels ==
 
== 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
+
* Version 2.4
* Version 2.6 working
+
 
 +
(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
 +
** [[Media:uImage]]
 +
** [[Media:config]]
  
== Userland ==
+
* Version 2.6
* gentoo ppc32
 
* [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 ==
+
See: [[DHT-Walnut2.6LinuxKernel|2.6 Linux kernel for the DHT-Walnut]]
There is a list of the Hardware that is known to work (and not to work) with this board.
 
  
feel free to add, comment, feedback about it.
+
== Userland ==
 +
* [[DHT-Walnut-DebianInstall|Debian GNU/Linux netboot installer]] -- Install Debian from the internet to a hard disk.
  
Linux has a problem in the source's tree: the dht-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-WalnutAddJ10| add the JTAG connector at J10]]
 +
* How To [[DHT-WalnutBootViaTftp|boot via tftp]]
 +
* How To [[DHT-WalnutBootingFromHdd|boot from Hard Disk]]
 +
* How To [[DHT-WalnutUsefullProjects|do something useful with your board]]
 +
* How To [[DHT-WalnutGPIO|control the Green Media LED and J5]]
 +
* More to come...

Revision as of 06:18, 5 June 2007

other DHT-Walnut pages: DHT-Walnut-Flameman

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.

currently available HERE Oops, sold out 2/6/2006


The board consists of:

  • 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
  • DCE serial port, speeds up to 230k, only tested to 115200
  • two pci slots, keyed for 5V only cards
  • Promise Technologies PDC20265 IDE
  • 512k of boot flash AMD 29LV040B datasheet
  • 12v dc powered
  • PPC40XX JTAG on J10
  • 6.00" x 7.5" board size

The system's most common configuration seems to be:

  • System PCB
  • 32M PC133 SDRAM DIMM
    • Unknown PCI IEEE-1394 card supported by OHCI driver
    • PPCBoot v.1.1.2 in flash

Hardware that is known to work (and not to work) with this board can be found here

GPSFan (Freenode IRC on #edev) was helpful in providing an image of the board:

Com1191.jpg

Some info in the pdf HERE


Experimental hack to set a hardware breakpoint inside OCD Commander [[Media:hardbreak.tgz|hardbreak.tgz]

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.

patch-ppcboot-1.1.6-km2

Original sources for ppcboot: [1]

Here is a binary for those without a toolchain.

ppcboot1.1.6.1.bin crc = 083fb0a3

To use this (at your own risk) see the detailed update procedure description: Installing the Updated Bootloader
  • U-Boot
U-Boot is a significantly updated replacement for ppcboot.  See: [wiki:DHT-Walnut-U-Boot U-Boot for the DHT-Walnut].

Just in case you make a brick, there is hope: [wiki:DHT-WalnutJtagBootloaderInstallation JTAG Bootloader Installation]

Linux Kernels

  • Version 2.4
(Mostly) working kernel binary and config from jbevren with matrox fbcon and usb input support.
Current issues:
  • Version 2.6
See: 2.6 Linux kernel for the DHT-Walnut

Userland

How-To's