Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "TCube Info"

From eLinux.org
Jump to: navigation, search
m (Bot (Edward's framework))
 
m (Bot (Edward's framework))
Line 9: Line 9:
 
  *Board Order Number:    SEMC5701(T-Cube)/SHIMAFUJI
 
  *Board Order Number:    SEMC5701(T-Cube)/SHIMAFUJI
 
   *CPU
 
   *CPU
* VR5701 (NEC VR5500A SOC chip) (333MHz)
+
***** VR5701 (NEC VR5500A SOC chip) (333MHz)
 
   *Memory
 
   *Memory
* 64 Mbyte SDRAM
+
***** 64 Mbyte SDRAM
* 16 Mbyte Flash
+
***** 16 Mbyte Flash
 
   *Graphics controller
 
   *Graphics controller
* SMI (SM722GX )
+
***** SMI (SM722GX )
 
   *Other Feature
 
   *Other Feature
* Timer x 4 ( VR5701 )
+
***** Timer x 4 ( VR5701 )
* UART x2 ( VR5701 /16550 compatible)
+
***** UART x2 ( VR5701 /16550 compatible)
* PCI ( VR5701 )  -- no PCI connector/header on the baord
+
***** PCI ( VR5701 )  -- no PCI connector/header on the baord
* Sound AC97 ( VR5701 )
+
***** Sound AC97 ( VR5701 )
* IDE/Compact Flash ( VR5701 )
+
***** IDE/Compact Flash ( VR5701 )
* RTC (RV 5C348B)
+
***** RTC (RV 5C348B)
* Ethernet ( Intel GD82559ERSL3DG )
+
***** Ethernet ( Intel GD82559ERSL3DG )
* USB(USB2) ( NEC uPD720101 )
+
***** USB(USB2) ( NEC uPD720101 )
* CF
+
***** CF
 
== Software and Configuration Files Used ==
 
== Software and Configuration Files Used ==
- PMON
+
* PMON
  - setup
+
** setup
  - boot
+
** boot
- Toolchain
+
* Toolchain
  - Mips Toolchain from Lineo
+
** Mips Toolchain from Lineo
- kernel
+
* kernel
  - celinux-040503.tar.bz2
+
** celinux-040503.tar.bz2
- root filesystem  
+
* root filesystem
  - [unprepared]
+
** [unprepared]
  
 
== General Outline for Bootstrapping using PMON ==
 
== General Outline for Bootstrapping using PMON ==
 
=== Preparing Target Hardware and Connections ===
 
=== Preparing Target Hardware and Connections ===
  - Connections:
+
** Connections:
    - Host machine Ethernet to hub (I configured as 192.168.1.1)  
+
*** Host machine Ethernet to hub (I configured as 192.168.1.1)
    - T-Cube Ethernet to hub (I configured as 192.168.1.2)  
+
*** T-Cube Ethernet to hub (I configured as 192.168.1.2)
    - Connect serial cable between T-Cube and host machine
+
*** Connect serial cable between T-Cube and host machine
      - Serial1 connector to interface module serial port
+
**** Serial1 connector to interface module serial port
      - Other end of null-modem cable to first serial port (ttyS0) on the Linux host machine
+
**** Other end of null-modem cable to first serial port (ttyS0) on the Linux host machine
  
 
=== Preparing Host Software ===
 
=== Preparing Host Software ===
  - Download and place files in /tftpboot
+
** Download and place files in /tftpboot
  - Make sure tftpd is ready to run
+
** Make sure tftpd is ready to run
  - Confirm minicom is configured to access /dev/ttyS0, at 115K N81
+
** Confirm minicom is configured to access /dev/ttyS0, at 115K N81
  
 
=== Using PMON to Boot the Kernel ===
 
=== Using PMON to Boot the Kernel ===
  - Root filesystem is NFS
+
** Root filesystem is NFS
  
 
==== Building the Kernel ====
 
==== Building the Kernel ====
 
Here are some commands I used to build the kernel:
 
Here are some commands I used to build the kernel:
- cd celinux-040503/  
+
* cd celinux-040503/
- export PATH=/usr/local/bin:$PATH
+
* export PATH=/usr/local/bin:$PATH
- cp arch/mips/defconfig-tcube .config
+
* cp arch/mips/defconfig-tcube .config
- make ARCH=mips CROSS_COMPILE=mipsel-linux- menuconfig
+
* make ARCH=mips CROSS_COMPILE=mipsel-linux- menuconfig
  - disable XIP  
+
** disable XIP
- make ARCH=mips CROSS_COMPILE=mipsel-linux- dep  
+
* make ARCH=mips CROSS_COMPILE=mipsel-linux- dep
- make ARCH=mips CROSS_COMPILE=mipsel-linux-  
+
* make ARCH=mips CROSS_COMPILE=mipsel-linux-
  
 
==== Preparing the Kernel to Download ====
 
==== Preparing the Kernel to Download ====
- cp vmlinux /tftpboot/
+
* cp vmlinux /tftpboot/
  
 
==== Starting the NFS daemon ====
 
==== Starting the NFS daemon ====
- /etc/rc.d/init.d/nfs start  
+
* /etc/rc.d/init.d/nfs start
  
 
==== Setting Environment Variable and Write Environment Value on T-Cube ====
 
==== Setting Environment Variable and Write Environment Value on T-Cube ====
- minicom (set to /dev/ttyS0)  
+
* minicom (set to /dev/ttyS0)
- Set environment variable
+
* Set environment variable
  - Set variable tty0 (I used "set tty0 115200")
+
** Set variable tty0 (I used "set tty0 115200")
  - Set variable netaddr (I used "set netaddr 192.168.1.2")
+
** Set variable netaddr (I used "set netaddr 192.168.1.2")
  - Set variable bootaddr (I used "set bootaddr 192.168.1.1")
+
** Set variable bootaddr (I used "set bootaddr 192.168.1.1")
  - Set variable bootfile (I used "set bootfile vmlinux")
+
** Set variable bootfile (I used "set bootfile vmlinux")
- Write environment value  
+
* Write environment value
  - Employed "write_env" command
+
** Employed "write_env" command
  
 
==== Downloading the Kernel to T-Cube ====
 
==== Downloading the Kernel to T-Cube ====
- minicom (set to /dev/ttyS0)  
+
* minicom (set to /dev/ttyS0)
- Download the kernel
+
* Download the kernel
  - Employ "boot" command
+
** Employ "boot" command
  - As "boot" command completes, "Entry-address" appears.
+
** As "boot" command completes, "Entry-address" appears.
  
 
==== Booting the Kernel ====
 
==== Booting the Kernel ====
- Employ "go" command (I used "g -e Entry-address")
+
* Employ "go" command (I used "g -e Entry-address")

Revision as of 14:18, 6 March 2007

This page describes how to load Linux on the T-Cube board.

Table Of Contents:



Hardware Used

*Board Order Number:     SEMC5701(T-Cube)/SHIMAFUJI
  *CPU
          • VR5701 (NEC VR5500A SOC chip) (333MHz)
  *Memory
          • 64 Mbyte SDRAM
          • 16 Mbyte Flash
  *Graphics controller
          • SMI (SM722GX )
  *Other Feature
          • Timer x 4 ( VR5701 )
          • UART x2 ( VR5701 /16550 compatible)
          • PCI ( VR5701 ) -- no PCI connector/header on the baord
          • Sound AC97 ( VR5701 )
          • IDE/Compact Flash ( VR5701 )
          • RTC (RV 5C348B)
          • Ethernet ( Intel GD82559ERSL3DG )
          • USB(USB2) ( NEC uPD720101 )
          • CF

Software and Configuration Files Used

  • PMON
    • setup
    • boot
  • Toolchain
    • Mips Toolchain from Lineo
  • kernel
    • celinux-040503.tar.bz2
  • root filesystem
    • [unprepared]

General Outline for Bootstrapping using PMON

Preparing Target Hardware and Connections

    • Connections:
      • Host machine Ethernet to hub (I configured as 192.168.1.1)
      • T-Cube Ethernet to hub (I configured as 192.168.1.2)
      • Connect serial cable between T-Cube and host machine
        • Serial1 connector to interface module serial port
        • Other end of null-modem cable to first serial port (ttyS0) on the Linux host machine

Preparing Host Software

    • Download and place files in /tftpboot
    • Make sure tftpd is ready to run
    • Confirm minicom is configured to access /dev/ttyS0, at 115K N81

Using PMON to Boot the Kernel

    • Root filesystem is NFS

Building the Kernel

Here are some commands I used to build the kernel:

  • cd celinux-040503/
  • export PATH=/usr/local/bin:$PATH
  • cp arch/mips/defconfig-tcube .config
  • make ARCH=mips CROSS_COMPILE=mipsel-linux- menuconfig
    • disable XIP
  • make ARCH=mips CROSS_COMPILE=mipsel-linux- dep
  • make ARCH=mips CROSS_COMPILE=mipsel-linux-

Preparing the Kernel to Download

  • cp vmlinux /tftpboot/

Starting the NFS daemon

  • /etc/rc.d/init.d/nfs start

Setting Environment Variable and Write Environment Value on T-Cube

  • minicom (set to /dev/ttyS0)
  • Set environment variable
    • Set variable tty0 (I used "set tty0 115200")
    • Set variable netaddr (I used "set netaddr 192.168.1.2")
    • Set variable bootaddr (I used "set bootaddr 192.168.1.1")
    • Set variable bootfile (I used "set bootfile vmlinux")
  • Write environment value
    • Employed "write_env" command

Downloading the Kernel to T-Cube

  • minicom (set to /dev/ttyS0)
  • Download the kernel
    • Employ "boot" command
    • As "boot" command completes, "Entry-address" appears.

Booting the Kernel

  • Employ "go" command (I used "g -e Entry-address")