Linux MIPS Architecture development
 help / color / mirror / Atom feed
* porting linux to DBau1200
@ 2007-06-02  6:49 saravanan sar
  2007-06-02  8:35 ` {Spam} " Florian Fainelli
  2007-06-02 18:44 ` Freddy Spierenburg
  0 siblings, 2 replies; 5+ messages in thread
From: saravanan sar @ 2007-06-02  6:49 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 3088 bytes --]

hi,

has anyone successfully ported linux to DBau1200 board ? here i have problem in mounting root filesystem. i compiled the linux kernel and got the vmlinuz image and ported to the board also. but when i boots up it shows the following error:
YAMON> go
Linux version 2.6.11-r000069-smp (root@suse) (gcc version 3.4.4) #8 Wed May 30 19:22:16 IST 2007
CPU revision is: 04030201
AMD Alchemy Db1200 Board
(PRId 04030201) @ 396MHZ
Determined physical RAM map:
 memory: 10000000 @ 00000000 (usable)
Built 1 zonelists
Kernel command line:  video=au1200fb:panel:bs console=ttyS0,115200
Primary instruction cache 16kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (17 instructions).
Synthesized TLB load handler fastpath (34 instructions).
Synthesized TLB store handler fastpath (34 instructions).
Synthesized TLB modify handler fastpath (33 instructions).
PID hash table entries: 2048 (order: 11, 32768 bytes)
calculating r4koff... 00060ae0(396000)
Using 396.000 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 255872k/262144k available (1894k kernel code, 6124k reserved, 337k data, 116k init, 0k highmem)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Checking for 'wait' instruction...  unavailable.
NET: Registered protocol family 16
Au1XXX Real Time Clock Driver v1.0
audit: initializing netlink socket (disabled)
audit(120525897.203:0): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
au1200fb: LCD controller driver for AU1200 processors<6>
au1200fb: Panel 2 SVGA_800x600
au1200fb: Win 2 0-FS gfx, 1-video, 2-ovly gfx, 3-ovly gfx
Panel(SVGA_800x600), 800x600
Console: switching to colour frame buffer device 100x75
rtc: I/O resource 70 is not free.
Serial: Au1x00 driver
ttyS0 at I/O 0xb1100000 (irq = 0) is a AU1X00_UART
ttyS1 at I/O 0xb1200000 (irq = 8) is a AU1X00_UART
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
netconsole: not configured, aborting
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
NET: Registered protocol family 1
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0).

. i searched in the google regarding this and found that this corresponds to root filesystem not found. 

can anyone provide me any suggestions or solutions for creating root filesystem and linking that with the kernel ?

thanks in advance,

saravanan.

       
---------------------------------
 Did you know? You can CHAT without downloading messenger.  Know how!

[-- Attachment #2: Type: text/html, Size: 3410 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: {Spam} porting linux to DBau1200
  2007-06-02  6:49 porting linux to DBau1200 saravanan sar
@ 2007-06-02  8:35 ` Florian Fainelli
  2007-06-02 18:44 ` Freddy Spierenburg
  1 sibling, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2007-06-02  8:35 UTC (permalink / raw)
  To: saravanan sar; +Cc: linux-mips

[-- Attachment #1: Type: text/plain, Size: 3823 bytes --]

Hello,

In the bootlog you pasted, I see no flash map being enabled for your device. 

You might want to have a look at the AMD alchemy flash driver which should 
provide you a basic mapping.

This driver is located in linux/drivers/mtd/maps/alchemy-flash.c and can be 
enabled within Kconfig in the Device Driver / Memory Technology Device / 
Mapping drivers for chip access.

Le samedi 2 juin 2007, saravanan sar a écrit :
> hi,
>
> has anyone successfully ported linux to DBau1200 board ? here i have
> problem in mounting root filesystem. i compiled the linux kernel and got
> the vmlinuz image and ported to the board also. but when i boots up it
> shows the following error: YAMON> go
> Linux version 2.6.11-r000069-smp (root@suse) (gcc version 3.4.4) #8 Wed May
> 30 19:22:16 IST 2007 CPU revision is: 04030201
> AMD Alchemy Db1200 Board
> (PRId 04030201) @ 396MHZ
> Determined physical RAM map:
>  memory: 10000000 @ 00000000 (usable)
> Built 1 zonelists
> Kernel command line:  video=au1200fb:panel:bs console=ttyS0,115200
> Primary instruction cache 16kB, physically tagged, 4-way, linesize 32
> bytes. Primary data cache 16kB, 4-way, linesize 32 bytes.
> Synthesized TLB refill handler (17 instructions).
> Synthesized TLB load handler fastpath (34 instructions).
> Synthesized TLB store handler fastpath (34 instructions).
> Synthesized TLB modify handler fastpath (33 instructions).
> PID hash table entries: 2048 (order: 11, 32768 bytes)
> calculating r4koff... 00060ae0(396000)
> Using 396.000 MHz high precision timer.
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
> Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
> Memory: 255872k/262144k available (1894k kernel code, 6124k reserved, 337k
> data, 116k init, 0k highmem) Mount-cache hash table entries: 512 (order: 0,
> 4096 bytes)
> Checking for 'wait' instruction...  unavailable.
> NET: Registered protocol family 16
> Au1XXX Real Time Clock Driver v1.0
> audit: initializing netlink socket (disabled)
> audit(120525897.203:0): initialized
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> Initializing Cryptographic API
> au1200fb: LCD controller driver for AU1200 processors<6>
> au1200fb: Panel 2 SVGA_800x600
> au1200fb: Win 2 0-FS gfx, 1-video, 2-ovly gfx, 3-ovly gfx
> Panel(SVGA_800x600), 800x600
> Console: switching to colour frame buffer device 100x75
> rtc: I/O resource 70 is not free.
> Serial: Au1x00 driver
> ttyS0 at I/O 0xb1100000 (irq = 0) is a AU1X00_UART
> ttyS1 at I/O 0xb1200000 (irq = 8) is a AU1X00_UART
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered
> RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
> netconsole: not configured, aborting
> NET: Registered protocol family 2
> IP: routing cache hash table of 2048 buckets, 16Kbytes
> TCP established hash table entries: 16384 (order: 5, 131072 bytes)
> TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
> TCP: Hash tables configured (established 16384 bind 16384)
> NET: Registered protocol family 1
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(1,0).
>
> . i searched in the google regarding this and found that this corresponds
> to root filesystem not found.
>
> can anyone provide me any suggestions or solutions for creating root
> filesystem and linking that with the kernel ?
>
> thanks in advance,
>
> saravanan.
>
>
> ---------------------------------
>  Did you know? You can CHAT without downloading messenger.  Know how!



-- 
Cordialement, Florian Fainelli
---------------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: porting linux to DBau1200
  2007-06-02  6:49 porting linux to DBau1200 saravanan sar
  2007-06-02  8:35 ` {Spam} " Florian Fainelli
@ 2007-06-02 18:44 ` Freddy Spierenburg
  2007-06-06 11:19   ` saravanan
  1 sibling, 1 reply; 5+ messages in thread
From: Freddy Spierenburg @ 2007-06-02 18:44 UTC (permalink / raw)
  To: saravanan sar; +Cc: linux-mips

[-- Attachment #1: Type: text/plain, Size: 1337 bytes --]

Hi Sar,

On Sat, Jun 02, 2007 at 07:49:01AM +0100, saravanan sar wrote:
> has anyone successfully ported linux to DBau1200 board?

I am successfully running it on the DBAu1100 board, so I am most
sure it works on the 1200 board too. No worries on that part.


> YAMON> go
[cut]
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0).

You might want to try an NFS mount first, before loading a root
filesystem on the Flash memory that's part of the board.

Setup a root filesystem on a workstation and export it by means
of NFS. You might want to take a look at debootstrap (Debian
GNU/Linux), but there do exist an almost infite amount of other
ways to do just that. Probably an obvious note, but I like to
make it anyway: make sure you use mipsel binaries!!

Next you start from YAMON in a way like this:

	go . ip=10.42.69.2 nfsroot=10.42.69.1:/opt/debianfs/ rw

Of course you can use any IP address you like and the
'/opt/debianfs/' is only a suggestion to where the just created
root filesystem resides on your workstation.

Good luck!


-- 
$ cat ~/.signature
Freddy Spierenburg <freddy@dusktilldawn.nl>  http://freddy.snarl.nl/
GnuPG: 0x7941D1E1=C948 5851 26D2 FA5C 39F1  E588 6F17 FD5D 7941 D1E1
$ # Please read http://www.ietf.org/rfc/rfc2015.txt before complain!

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: porting linux to DBau1200
  2007-06-02 18:44 ` Freddy Spierenburg
@ 2007-06-06 11:19   ` saravanan
  2007-06-07 15:25     ` Freddy Spierenburg
  0 siblings, 1 reply; 5+ messages in thread
From: saravanan @ 2007-06-06 11:19 UTC (permalink / raw)
  To: Freddy Spierenburg; +Cc: linux-mips

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

Hi,

can you say me to create a simple rootfilesystem for MIPS? i searched in the net but i could not find anything. i tried cross compiling busybox for our MIPS but that too was not successfull.

can you please help me ? 


saravanan.

       
---------------------------------
 Looking for people who are YOUR TYPE?  Find them here!

[-- Attachment #2: Type: text/html, Size: 444 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: porting linux to DBau1200
  2007-06-06 11:19   ` saravanan
@ 2007-06-07 15:25     ` Freddy Spierenburg
  0 siblings, 0 replies; 5+ messages in thread
From: Freddy Spierenburg @ 2007-06-07 15:25 UTC (permalink / raw)
  To: saravanan; +Cc: linux-mips

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

Hi Saravanan,

On Wed, Jun 06, 2007 at 12:19:41PM +0100, saravanan wrote:
> can you say me to create a simple rootfilesystem for MIPS?

Like I say'd in my previous email, have a look at debootstrap:

	http://packages.debian.org/stable/admin/debootstrap

It's a very easy and fast way to create a simple filesystem.

Good luck!


-- 
$ cat ~/.signature
Freddy Spierenburg <freddy@dusktilldawn.nl>  http://freddy.snarl.nl/
GnuPG: 0x7941D1E1=C948 5851 26D2 FA5C 39F1  E588 6F17 FD5D 7941 D1E1
$ # Please read http://www.ietf.org/rfc/rfc2015.txt before complain!

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-06-07 15:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-02  6:49 porting linux to DBau1200 saravanan sar
2007-06-02  8:35 ` {Spam} " Florian Fainelli
2007-06-02 18:44 ` Freddy Spierenburg
2007-06-06 11:19   ` saravanan
2007-06-07 15:25     ` Freddy Spierenburg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox