goo blog サービス終了のお知らせ 

修理日記。

修理は楽しく自己責任で!

H8Linux : Kernel panic: No init found.

2011-05-06 00:59:49 | 組み込み系
+DP83902A - eeprom ESA: 00:02:cb:03:16:15
Ethernet eth0: MAC address 00:02:cb:03:16:15
IP: 192.168.1.101/255.255.255.0, Gateway: 192.168.1.100
Default server: 192.168.1.100

RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version UNKNOWN - built 14:54:02, Dec 21 2006

Platform: Akizuki H8/3068 Network micom (H8/300H)
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

RAM: 0x00400000-0x005f4000, [0x00400000-0x005e1000] available
FLASH: 0x00000000 - 0x80000, 8 blocks of 0x00010000 bytes each.
RedBoot> load -v linux_nfsroot.elf
Using default protocol (TFTP)
Entry point: 0x00400004, address range: 0x003fff8c-0x004d6a24
RedBoot> exec -c "console=ttySC1,38400n81 nfsroot=192.168.1.100:/tftpboot/nfsro"
Now booting linux kernel:
Entry Address 0x00400000
Cmdline : console=ttySC1,38400n81 nfsroot=192.168.1.100:/tftpboot/nfsroot inith
�Z���version 2.4.31-uc0 (root@localhost) (gcc version 3.4.3) #3 2011�ၹ� 5��月 4 T

uClinux H8/300H
Target Hardware: AE-3068
H8/300 series support by Yoshinori Sato <ysato@users.sourceforge.jp>
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
On node 0 totalpages: 1536
zone(0): 0 pages.
zone(1): 1536 pages.
zone(2): 0 pages.
Kernel command line: console=ttySC1,38400n81 nfsroot=192.168.1.100:/tftpboot/nfh
virtual vector at 0x00fffd20
Calibrating delay loop... 3.26 BogoMIPS
Memory available: 984k/1067k RAM, 0k/0k ROM (781k kernel code, 196k data)
Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
SuperH SCI(F) driver initialized
ttySC0 at 0x00ffffb0 is a SCI
ttySC1 at 0x00ffffb8 is a SCI
ttySC2 at 0x00ffffc0 is a SCI
ne.c:v1.10 9/23/94 Donald Becker (becker@scyld.com)
Last modified Nov 1, 2000 by Paul Gortmaker
NE*000 ethercard probe at 0x200000: 00 02 cb 03 16 15
eth0: NE1000 found at 0x200000, using IRQ 17.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 1024)
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.1.101
IP-Config: Complete:
device=eth0, addr=192.168.1.101, mask=255.255.255.0, gw=192.168.1.100,
host=192.168.1.101, domain=, nis-domain=(none),
bootserver=0.0.0.0, rootserver=192.168.1.100, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.100
Looking up port of RPC 100005/1 on 192.168.1.100
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 32k freed (0x4ce000 - 0x4d5000)
Kernel panic: No init found. Try passing init= option to kernel.

はじまりはいつも…秋(月)

2011-04-24 16:07:42 | 組み込み系
学校の先生に「H8やれよ」って言われたので「H8やってやんよ」ってことでH8です。
他意はありませんww

先生から渡されたのは一冊の本でした。

はじめる組込みLinux H8マイコン×uClinuxで学べるマイコン開発の面白さ
米田聡
ソフトバンク クリエイティブ


斜め読みしてみたけどよくわかりません!!/(^o^)\
とりあえずハードが必要らしいので、秋月電子通商に行って、必要なハードを買ってきました!!

AKI-H8/3069FフラッシュマイコンLANボード
http://akizukidenshi.com/catalog/g/gK-00168/



USB・シリアル変換ケーブル
http://akizukidenshi.com/catalog/g/gM-00720/



組み立てるのは実務経験もあるし得意です!!(`・ω・´)シャキーン
さっさと組み立て!!
じゃーん!!



といってもH8ボードの方は実装済みでジャンパー設定くらいしかありません。
I/Oボードの方はC,R,LED,ピンヘッダとかをハンダ付けするだけのかんたんなお仕事です。
ついでなので、LCDはバックライト付きの反転バージョンに付け替えてあります。フヒヒww


LCDキャラクタディスプレイモジュール 16×2行バックライト付 白抜き
http://akizukidenshi.com/catalog/g/gP-02919/


さて…あとは書き込むプログラムの作成ですが開発環境がありません(´・ω・`)
クロス開発環境を構築する必要があるようです。


組み込み向けクロス開発環境の構築
http://www.embedded.jp/article/cross.html


ぐぬぬ…(;´Д`)
めんどいおorz
早くも心折れそうです。。。

日本ブログ村

にほんブログ村 PC家電ブログへ にほんブログ村 PC家電ブログ 家電・AV機器へ  にほんブログ村 PC家電ブログ パソコン・周辺機器へ にほんブログ村 PC家電ブログ デジモノへ