[liure] [macchan@xxxxxxxxxxxxxx: [Milkymist-devel] First linux kernel for Milkymist One]

  • From: cristian paul peñaranda rojas <paul@xxxxxxxxxxxxxxxx>
  • To: liure@xxxxxxxxxxxxx
  • Date: Tue, 26 Oct 2010 21:39:19 -0500

Linux en la board Milkymist Uno

----- Forwarded message from Takeshi Matsuya <macchan@xxxxxxxxxxxxxx> -----

Date: Wed, 27 Oct 2010 02:16:24 +0900
From: Takeshi Matsuya <macchan@xxxxxxxxxxxxxx>
To: Milkymist development list <devel@xxxxxxxxxxxxxxxxxxx>,
        Wolfgang Spraul <wolfgang@xxxxxxxxxx>,
        Sébastien Bourdeauducq <sebastien@xxxxxxxxxxxxx>
Subject: [Milkymist-devel] First linux kernel for Milkymist One
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
        rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Thunderbird/3.1.4

 Hi,

The following is a kernel boot log.
It is not stable and does not contains some drivers.
This kernel is the first version for Milkymist One.

Kernel source URL is here.
http://github.com/tmatsuya/linux-2.6

Thank you.

---------------- Console log ---------------------------
I: Press Q or ESC to abort boot
I: Booting from filesystem...
I: Read a 2657020 byte image from BOOT.BIN
I: Read a 45 byte image from CMDLINE.TXT
I: Read a 8388608 byte image from INITRD.BIN
I: Booting...
Linux version 2.6.36+ (tmatsuya@xxxxxxxxxxxxxxxxxxxxxx) (gcc version
4.4.0 (GCC) ) #1137 Wed Oct 27 01:16:25 JST 2010
bootconsole [early0] enabled
memory from 402a4000 - 48000000
reserving initrd memory: 41002000 size 800000
start_mem is 0x402a4000
virtual_end is 0x48000000
before free_area_init
free_area_init -> start_mem is 0x402a4000
virtual_end is 0x48000000
after free_area_init
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 146880
Kernel command line: root=/dev/ram video=milkymistfb:mode:640x480

PID hash table entries: 4096 (order: 1, 16384 bytes)
Dentry cache hash table entries: 262144 (order: 7, 1048576 bytes)
Inode-cache hash table entries: 131072 (order: 6, 524288 bytes)
Memory available: 113952k/131072k RAM, (2536k kernel code, 105k data)
NR_IRQS:32
Console: colour dummy device 80x25
console [tty0] enabled, bootconsole disabled
Linux version 2.6.36+ (tmatsuya@xxxxxxxxxxxxxxxxxxxxxx) (gcc version
4.4.0 (GCC) ) #1137 Wed Oct 27 01:16:25 JST 2010
bootconsole [early0] enabled
memory from 402a4000 - 48000000
reserving initrd memory: 41002000 size 800000
start_mem is 0x402a4000
virtual_end is 0x48000000
before free_area_init
free_area_init -> start_mem is 0x402a4000
virtual_end is 0x48000000
after free_area_init
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 146880
Kernel command line: root=/dev/ram video=milkymistfb:mode:640x480

PID hash table entries: 4096 (order: 1, 16384 bytes)
Dentry cache hash table entries: 262144 (order: 7, 1048576 bytes)
Inode-cache hash table entries: 131072 (order: 6, 524288 bytes)
Memory available: 113952k/131072k RAM, (2536k kernel code, 105k data)
NR_IRQS:32
Console: colour dummy device 80x25
console [tty0] enabled, bootconsole disabled
console [ttyS0] enabled
milkymist_uart: registered real console
Calibrating delay loop... 125.33 BogoMIPS (lpj=626688)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 1024
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 3, 65536 bytes)
TCP established hash table entries: 65536 (order: 6, 524288 bytes)
TCP bind hash table entries: 65536 (order: 5, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (junk in compressed archive); looks like
an initrd
Freeing initrd mem: 8191k freed
ROMFS MTD (C) 2007 Red Hat, Inc.
io scheduler noop registered (default)
Console: switching to colour frame buffer device 80x30
fb0: Milkymist frame buffer at 46a00000, size 1536 k
fb0: mode is 640x480
milkymist_uart: Milkymist UART driver
ttyS0 at I/O 0x0 (irq = 0) is a milkymist_uart
milkymist_uart: added port 0 with irq 0-1 at 0xe0000000
brd: module loaded
loop: module loaded
minimac: HWaddr 02:31:41:59:26:00
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 8192KiB [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem) readonly on device 1:0.

starting pid 16, tty '': '/etc/init.d/rcS'
udhcpc (v1.17.2) started
Setting IP address 0.0.0.0 on eth0
Sending discover...
Sending select for 203.178.143.248...
Lease of 203.178.143.248 obtained, lease time 600
Setting IP address 203.178.143.248 on eth0
Deleting routers
Adding router 203.178.143.84
Recreating /etc/resolv.conf
 Adding DNS server 203.178.142.130
 Adding DNS server 203.178.136.62

starting pid 31, tty '': '/sbin/getty -L ttyS0 115200 vt100'

starting pid 32, tty '': '/sbin/getty -L tty1 115200 vt100'

starting pid 33, tty '': '/sbin/getty -L tty2 115200 vt100'

starting pid 34, tty '': '/sbin/getty -L tty3 115200 vt100'

starting pid 35, tty '': '/sbin/getty -L tty4 115200 vt100'


milkymist_one login: root

Welcome to the Milkymist Linux


     |\  /|'||      |\  /|'   |
     | \/ ||||_/\  /| \/ ||(~~|~
     |    |||| \ \/ |    ||_) |
                _/

http://www.milkymist.org/

Jan  1 00:00:23 login[31]: root login on 'ttyS0'



BusyBox v1.17.2 (2010-09-05 14:58:40 JST) hush - the humble shell
Enter 'help' for a list of built-in commands.

root:~# uname -a
Linux milkymist_one 2.6.36+ #1137 Wed Oct 27 01:16:25 JST 2010 lm32
GNU/Linux
root:~# cat /proc/cpuinfo
CPU:        lm32
MMU:        none
FPU:        none
Clocking:    78.3MHz
BogoMips:    125.33
Calibration:    62668800 loops
root:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 02:31:41:59:26:00
          inet addr:203.178.143.248  Bcast:203.178.143.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2800318676992 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3712 (3.6 KiB)  TX bytes:0 (0.0 B)
          Interrupt:11 Base address:0x8000 Memory:4789c000-478a0000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root:~# ps ax
PID   USER     TIME   COMMAND
    1 root       0:13 init
    2 root       0:00 [kthreadd]
    3 root       0:00 [ksoftirqd/0]
    4 root       0:00 [kworker/0:0]
    5 root       0:00 [kworker/u:0]
    6 root       0:00 [khelper]
    7 root       0:00 [sync_supers]
    8 root       0:00 [bdi-default]
    9 root       0:00 [kblockd]
   10 root       0:00 [kseriod]
   11 root       0:00 [kswapd0]
   12 root       0:00 [fsnotify_mark]
   13 root       0:00 [aio]
   14 root       0:00 [kworker/0:1]
   15 root       0:00 [flush-1:0]
   30 root       0:00 /usr/sbin/inetd
   31 root       0:00 -sh
   32 root       0:00 /sbin/getty -L tty1 115200 vt100
   33 root       0:00 /sbin/getty -L tty2 115200 vt100
   34 root       0:00 /sbin/getty -L tty3 115200 vt100
   35 root       0:00 /sbin/getty -L tty4 115200 vt100
   39 root       0:00 ps ax
root:~# free
              total         used         free       shared      buffers
  Mem:       122136        23208        98928            0          176
root:~#
----------------------------------------------------------

Regards,
Takeshi

_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode
Twitter: www.twitter.com/milkymistvj

----- End forwarded message -----

Other related posts: