Difference between revisions of "TCube Info"

From eLinux.org
Jump to: navigation, search
m (Bot (Edward's framework))
Line 7: Line 7:
  
 
== Hardware Used ==
 
== Hardware Used ==
*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
Line 46: Line 47:
  
 
=== 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 ====

Revision as of 14:19, 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")