From: Bizzu <tattone@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] u-boot kernel parameters
Date: Wed, 8 Feb 2006 10:04:09 -0800 (PST) [thread overview]
Message-ID: <2823509.post@talk.nabble.com> (raw)
In-Reply-To: <200602080758.28314.sr@denx.de>
Stefan Roese wrote:
>
> On Tuesday 07 February 2006 22:56, Stefan Roese wrote:
>> Hmmm, I am pretty sure Ocotea linuxppc_2_4_devel worked a few month's ago
>> (with U-Boot of course). I will give it a try tomorrow and let you know.
>
> As it seems the current version doesn't compile for ocotea:
>
> make[4]: Entering directory
> `/chroot/server/home/stefan/git/linuxppc_2_4_devel/drivers/net/ibm_emac'
> ppc_4xx-gcc -D__KERNEL__
> -I/chroot/server/home/stefan/git/linuxppc_2_4_devel/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer
> -I/chroot/server/home/stefan/git/linuxppc_2_4_devel/arch/ppc -fsigned-char
> -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
> -Wa,-m405 -nostdinc
> -I /opt/eldk-3.1.1/usr/lib/gcc-lib/ppc-linux/3.3.3/include
> -DKBUILD_BASENAME=ibm_ocp_enet -c -o ibm_ocp_enet.o ibm_ocp_enet.c
> ibm_ocp_enet.c:158: error: parse error before "__res"
> ibm_ocp_enet.c:158: warning: type defaults to `int' in declaration of
> `__res'
> ibm_ocp_enet.c:158: warning: data definition has no type or storage class
> ibm_ocp_enet.c: In function `emac_init':
> ibm_ocp_enet.c:1981: error: `bd_t' undeclared (first use in this function)
> ibm_ocp_enet.c:1981: error: (Each undeclared identifier is reported only
> once
> ibm_ocp_enet.c:1981: error: for each function it appears in.)
> ibm_ocp_enet.c:1981: error: `bd' undeclared (first use in this function)
> make[4]: *** [ibm_ocp_enet.o] Error 1
>
> If you don't get this error, your linuxppc_2_4_devel version is outdated.
> With
> this small patch below this is fixed and the ocotea boots again:
>
> 71a72
>> #include "asm/ppcboot.h" /* test-only: ocotea build */
>
> ## Booting image at 00200000 ...
> Image Name: Linux-2.4.25
> Created: 2006-02-08 5:44:06 UTC
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 649445 Bytes = 634.2 kB
> Load Address: 00000000
> Entry Point: 00000000
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> Linux version 2.4.25 (stefan at ubuntu) (gcc version 3.3.3 (DENX ELDK 3.1.1
> 3.3.3-9)) #1 Wed Feb 8 06:41:37 CET 2006
> IBM Ocotea port (MontaVista Software, Inc. < source@mvista.com>)
> On node 0 totalpages: 65536
> zone(0): 65536 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Kernel command line: root=/dev/nfs rw
> nfsroot=192.168.1.1:/opt/eldk/ppc_4xx
> ip=192.168.80.2:192.168.1.1::255.255.0.0:ocotea:eth0:off panic=1
> console=ttyS0,115200
> Calibrating delay loop... 799.53 BogoMIPS
> Memory: 257000k available (976k kernel code, 320k data, 232k init, 0k
> highmem)
> Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
> Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
> Mount cache hash table entries: 512 (order: 0, 4096 bytes)
> Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
> Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
> POSIX conformance testing by UNIFIX
> PCI: Probing PCI hardware
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> Starting kswapd
> pty: 256 Unix98 ptys configured
> Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
> SERIAL_PCI
> enabled
> ttyS00 at 0xfdfea200 (irq = 0) is a 16550A
> ttyS01 at 0xfdfe9300 (irq = 1) is a 16550A
> Generic RTC Driver v1.07
> emac: IBM OCP EMAC Ethernet driver, version 2.1
> Maintained by Benjamin Herrenschmidt < benh@kernel.crashing.org>
> mal0: Initialized, 8 tx channels, 4 rx channels
> zmii0: input 0 in SMII mode
> eth0: IBM emac, MAC 00:01:73:01:dd:ac
> eth0: Found Generic MII PHY (0x01)
> zmii0: input 1 in SMII mode
> eth1: IBM emac, MAC 00:01:73:01:dd:ad
> eth1: Found Generic MII PHY (0x02)
> zmii0: input 2 in SMII mode
> rgmii0: input 0 in RGMII mode
> eth2: IBM emac, MAC 00:01:73:01:dd:ae
> eth2: Found CIS8201 Gigabit Ethernet PHY (0x10)
> zmii0: input 3 in SMII mode
> rgmii0: input 1 in RGMII mode
> eth3: IBM emac, MAC 00:01:73:01:dd:af
> eth3: Found CIS8201 Gigabit Ethernet PHY (0x18)
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP
> IP: routing cache hash table of 2048 buckets, 16Kbytes
> TCP: Hash tables configured (established 16384 bind 32768)
> IP-Config: Complete:
> device=eth0, addr=192.168.80.2, mask=255.255.0.0,
> gw=255.255.255.255,
> host=ocotea, domain=, nis-domain=(none),
> bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath=
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> Looking up port of RPC 100003/2 on 192.168.1.1
> eth0: Link is Up
> eth0: Speed: 100, Full duplex.
> Looking up port of RPC 100005/1 on 192.168.1.1
> VFS: Mounted root (nfs filesystem).
> Freeing unused kernel memory: 232k init
> modprobe: modprobe: Can't open dependencies
> file /lib/modules/2.4.25/modules.dep (No such file or directory)
> INIT: version 2.84 booting
> Welcome to DENX Embedded Linux Environment
> Press 'I' to enter interactive startup.
> Building the cache [ OK ]
> Mounting proc filesystem: [ OK ]
> Configuring kernel parameters: [ OK ]
> Setting clock : Wed Feb 8 08:38:58 MET 2006 [ OK ]
> Setting hostname ocotea: [ OK ]
> modprobe: Can't open dependencies file /lib/modules/2.4.25/modules.dep (No
> such file or directory)
> Activating swap partitions: [ OK ]
> Finding module dependencies: depmod: Can't
> open /lib/modules/2.4.25/modules.dep for writing
> [FAILED]
> Checking filesystems
> [ OK ]
> Mounting local filesystems: [ OK ]
> Enabling swap space: [ OK ]
> modprobe: Can't open dependencies file /lib/modules/2.4.25/modules.dep (No
> such file or directory)
> INIT: Entering runlevel: 3
> Entering non-interactive startup
> Setting network parameters: [ OK ]
> Bringing up loopback interface: [ OK ]
> Starting system logger: [ OK ]
> Starting kernel logger: [ OK ]
> Initializing random number generator: [ OK ]
> Starting portmapper: [ OK ]
> Mounting NFS filesystems: [ OK ]
> Mounting other filesystems: [ OK ]
> Starting xinetd: [ OK ]
>
> ocotea login:
>
>
> Best regards,
> Stefan
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
>
Stephan,
I followed your tracks and got it to boot as you did.
This is just fantastic!
Danke sch?n!
Bizzu
--
View this message in context: http://www.nabble.com/u-boot-kernel-parameters-t1077794.html#a2823509
Sent from the Uboot - Users forum at Nabble.com.
next prev parent reply other threads:[~2006-02-08 18:04 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-07 18:14 [U-Boot-Users] u-boot kernel parameters Bizzu
2006-02-07 18:55 ` S. Egbert
2006-02-07 19:05 ` Tattone Tattone
2006-02-07 20:55 ` Wolfgang Denk
2006-02-07 21:23 ` Tattone Tattone
2006-02-07 23:39 ` Wolfgang Denk
2006-02-07 21:56 ` Stefan Roese
2006-02-07 22:22 ` Bizzu
2006-02-08 6:58 ` Stefan Roese
2006-02-08 13:27 ` Tattone Tattone
2006-02-15 10:56 ` Simon Yang
2006-02-15 14:11 ` Travis B. Sawyer
2006-02-15 18:32 ` Bizzu
2006-02-17 6:47 ` Simon Yang
2006-02-08 18:04 ` Bizzu [this message]
2006-02-07 20:54 ` Wolfgang Denk
2006-02-07 23:15 ` Bizzu
2006-02-07 23:42 ` Wolfgang Denk
2006-02-08 10:24 ` Andreas Schweigstill
2006-02-08 13:24 ` Tattone Tattone
2006-02-08 4:45 ` S. Egbert
2006-02-07 20:51 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2823509.post@talk.nabble.com \
--to=tattone@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.