How to setup the u-boot environment variable to boot Linux Kernel?

printenv

bootcmd=bootfmh

bootdelay=1

baudrate=38400

loads_echo=1

autoload=no

menucmd=bootmenu

ethrotate=no

ethaddr=00:25:34:56:67:87

eth1addr=00:25:34:56:67:87

root=/dev/nfs rw ip=dhcp

gatewayip=172.xx.0.1

netmask=255.255.0.0

ipaddr=172.xx.9.54

serverip=10.1.17.186

bootfile=uImage

loadaddr=0x42000000

bootargs=root=/dev/nfs rw ip=dhcp console=ttyC0,38400 nfsroot=10.1.17.186:/root/

RR1-Blade/workspace/Build/output/ImageTree

stdin=serial

stdout=serial

stderr=serial

ethact=sh_eth.0

ver=U-Boot 1.1.6 (Nov 21 2011 – 15:30:47)

Environment size: 519/65528 bytes

RAINIER>tftpboot

Check for validity of PHY sh_eth.0

reset PHY of sh_eth.0

100Base/Full

Using sh_eth.0 device

TFTP from server 10.1.17.186; our IP address is 172.xx.9.54; sending through gat

eway 172.xx.0.1

Filename ‘uImage’.

Load address: 0x42000000

Loading: *T #################################################################

#################################################################

#################################################################

#################################################################

#################################################################

#

done

Bytes transferred = 1666358 (196d36 hex)

RAINIER>bootm

## Booting image at 42000000 …

Image Name: Linux-2.6.30-ami

Image Type: SuperH Linux Kernel Image (gzip compressed)

Data Size: 1666294 Bytes = 1.6 MB

Load Address: 80001000

Entry Point: 80002000

Verifying Checksum … OK

Uncompressing Kernel Image … OK

Starting kernel …

Linux version 2.6.30-ami (root@james-X8SIL) (gcc version 4.5.1 (Sourcery G++ Lit

e 2010.09-45) ) #1 Fri Oct 28 15:03:53 PDT 2011

Boot params:

… MOUNT_ROOT_RDONLY – 00000001

… RAMDISK_FLAGS – 0000c000

… ORIG_ROOT_DEV – 00000200

… LOADER_TYPE – 00000001

… INITRD_START – 00000000

… INITRD_SIZE – 00000000

Booting machvec: SH7757LCR

Renesas R0P7757LC0012RL support.

Node 0: start_pfn = 0x40000, low = 0x47000

Zone PFN ranges:

Normal 0x00040000 -> 0x00047000

Movable zone start PFN for each node

early_node_map[1] active PFN ranges

0: 0x00040000 -> 0x00047000

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 28448

Kernel command line: root=/dev/nfs rw ip=dhcp console=ttyC0,38400 nfsroot=10.1.1

7.186:/root/RR1-Blade/workspace/Build/output/ImageTree

NR_IRQS:384

PID hash table entries: 512 (order: 9, 2048 bytes)

Using tmu for system timer

Console: colour dummy device 80×25

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

PVR=10300b00 CVR=73440410 PRR=00003110

I-cache : n_ways=4 n_sets=256 way_incr=8192

I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2

D-cache : n_ways=4 n_sets=256 way_incr=8192

D-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2

Memory: 110236k/114688k available (2277k kernel code, 748k data, 116k init)

Calibrating delay loop (skipped)… 576.00 BogoMIPS PRESET (lpj=1152000)

Mount-cache hash table entries: 512

CPU: SH7757

net_namespace: 880 bytes

PCI: Using configuration type 1

NET: Registered protocol family 16

sh pinmux: sh7757_pfc handling gpio 0 -> 504

bio: create slab <bio-0> at 0

DMA: Registering DMA API.

DMA: Registering sh_dmac handler (24 channels).

Autoconfig PCI channel 0x802ef8c0

Scanning bus 00, I/O 0xfed00000:0xff100000, Mem 0x04000000:0x08000000

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 4096 (order: 3, 32768 bytes)

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

TCP reno registered

NET: Registered protocol family 1

enable PCIe shared memory area

JFFS2 version 2.2. © 2001-2006 Red Hat, Inc.

msgmni has been set to 215

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered (default)

SuperH SCI(F) driver initialized

sh-sci: ttyC0 at MMIO 0xfe4d0000 (irq = 104) is a scif

console [ttyC0] enabled

sh-sci: ttyC1 at MMIO 0xfe4c0000 (irq = 76) is a scif

brd: module loaded

loop: module loaded

Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)

bonding: Warning: either miimon or arp_interval and arp_ip_target module paramet

ers must be specified, otherwise bonding will not detect link failures! see bond

ing.txt for details.

sh_mii: probed

Base address at 0xfef00000, 00:25:34:56:67:87, IRQ 84.

sh_mii: probed

Base address at 0xfef00800, 00:25:34:56:67:87, IRQ 84.

Ractrends Flash mapping Starting at 0xb4000000

Probing for Flash at Bank # 0

SPI: probing for winbond devices …

SPI: probing for intel s33 devices …

SPI: probing for atmel devices …

SPI: probing for macronix devices …

Found SPI Chip Macronix MX25L25635E

MTD Partition 0 : fullpart @ 0x0 of Size 0x0

Creating 1 MTD partitions on “Ractrends0”:

0x000000000000-0x000002000000 : “fullpart”

MTD-Mapping SPI of Size 0x2000000 at 0xb4000000 … Done.

mice: PS/2 mouse device common for all mice

i2c /dev entries driver

heartbeat: version 0.1.1 loaded

TCP cubic registered

NET: Registered protocol family 10

IPv6 over IPv4 tunneling driver

NET: Registered protocol family 17

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>

All bugs added by David S. Miller <davem@redhat.com>

ADDRCONF(NETDEV_UP): bond0: link is not ready

net eth0: attached phy 5 to driver Generic PHY

net eth1: attached phy 5 to driver Generic PHY

Sending DHCP requests .<6>PHY: 0:05 – Link is Up – 100/Full

., OK

IP-Config: Got DHCP answer from 172.31.0.8, my address is 172.31.9.54

IP-Config: Complete:

device=eth0, addr=172.xx.9.54, mask=255.255.0.0, gw=172.xx.0.1,

host=172.xx.9.54, domain=xxxx.com, nis-domain=(none),

bootserver=172.xx.0.8, rootserver=10.1.17.186, rootpath=

Looking up port of RPC 100003/2 on 10.1.17.186

Looking up port of RPC 100005/1 on 10.1.17.186

VFS: Mounted root (nfs filesystem) on device 0:11.

Freeing unused kernel memory: 116k freed

ùversion ò

Creating area for var using tmpfs …Done

Creating directories in /var …done.

Starting PAM Helper Daemon: PAMHelperD .

Loading kernel modules…Network Interface Monitor Version 1.14.0

Copyright (c) 2009 American Megatrends Inc.

Helper Module Driver Version 1.2

Copyright (c) 2006 American Megatrends Inc.

Initializing USB Devices

USB Device Endpoint Driver

Copyright 2006 American Megatrends Inc.

USB Driver is Successfully Initialized

KCS Common Driver, (c) 2009 American Megatrends Inc.

The GPIO Driver is loaded successfully.

Reset Common Driver, (c) 2009 American Megatrends Inc.

Event HW driver loaded

GPIO_REG_PSEL6 = 0x00fe

GPIO_REG_PSEL7 = 0xfe00

GPIO_REG_PWCR = 0x0000

GPIO_REG_PVCR = 0x0000

Advertisements

About superjameszou

Hardware Design Engineer
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s