"No such file or directory" means that you didn't format your SD card correctly. The device files are there, you just can't mount it. I recommend you to follow JeDi's way to get it working. Have you tried it ?

Angel Sánchez Morales wrote:
Hmm... i'm stupid or still asleep xD
I only had to put ls /dev -R on the linuxrc script :p

/dev looks like:

/dev:
console hda hda2 null ttyS0 ttyS2
fb0 hda1 mmc tty ttyS1 vc0

/dev/mmc:
blk0

/dev/mmc/blk0:
disc part1 part2


Trying to mount part2...
And the screen turns nearly all white :/
I was using the x50v filesystem.

Then using x50 filesystem i re-format the sd and doesn't load opie still :(

The funny thing is that it says that there's no such device or address, but then when doing an ls it is there!

I'm bored, I'll continue trying it at night... sigh...




JeDi wrote:
Yes! I've got it running!

I modified linuxrc in the initrd, so it mounts /dev/mmc/blk0/part1 in
stead of /dev/mmc/blk0/disc, so I could create a partition in the
normal way and put the rootfs there. That did the trick!

The touchscreen driver isn't working correctly though (on x50v that
is). Shouldn't there be some sort of alignment screen first in Opie?
Anyway, the screen coordinates aren't correct, so I can't click much
of the icons. I'll have a look at the touchscreen driver in the
sources (it's there, right?).

But anyway, I'm very happy I can finally see some decent result.

Thanks a lot everybody!

Greetz,
JeDi

On 1/4/06, Angel Sánchez Morales <[EMAIL PROTECTED]> wrote:

Woho!!! woho!!! I got more output!!! :D

After the Freeing init memory: 80K i can see this (the above seems to be
the same as before):

open("/dev/mem"): No such file or directory
open("/dev/mem"): No such file or directory
Initial RAM Disk started ...
mount: Mounting /dev/mmc/blk0/disc on /mnt/rootfs failed: No such device
or address
Failed to mount root filesystem, dropping to a shell


Busybox v0.60.5 (2004.04.11-12:09+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

sh: can't access tty: job control turned off
#


If i use Fisherss' method to format the sd it makes an entire ext2
partition on the sd, but then when using fdisk it doesn't recognizes any
partition and when you hit w (for writting the data to the medium) it
tries to sync with the device and then it exits by itself, i should hit
q to exit from fdisk.

So i left the partition created with mke2fs /dev/sda and put all the
filesystem there. I got the same output as before, and looking at it I
noticed that it says that mmc0 doesn't have read-only access and makes
it rw (mmc0: host does not support reading read-only switch. assuming
write-enable.) and then i can see the line trying to mount mmc (mount:
Mounting /dev/mmc/blk0/disc on /mnt/rootfs failed: No such device or
address), perhaps in x50v we need to mount /dev/mmc0/blk0/disc?

If i have time this night i'll try to modify the initrd to mount that
device :)


Fisherss wrote:

I remember that the Chinese guy has mentioned this, use this line:
set cmdline "root=/dev/ram0 rw ramdisk_size=12288 keepinitrd
init=/linuxrc  console=tty0"
instead of this line :
set cmdline "root=/dev/ram0 rw ramdisk_size=12288 keepinitrd
init=/linuxrc  console=tty0 console=ttyS0,115200n8 "

Then you may get the output from linuxrc or other thing.

JeDi wrote:


On 1/4/06, Fisherss <[EMAIL PROTECTED]> wrote:



The "echo" lines appear only through your serial console, not on the
screen. The size of fonts is suitable for x50, and I don't know what
size x50v needs.



It's in the post from the guy that got framebuffer working for x50v:
"Graphics support->Console display driver support:enable VGA8X8 and
VGA8x16"

When these are enabled (the mini one can stay enabled too), the text
is realy nicely readable on the x50v (kinda hard to read with the mini
font on that resolution).

Is there a way to put messages on screen in the linuxrc script? Would
be great for us without a serial cable :-)





I am uploading it. About the newest kernel, I have tried CVS version, but looks like something is aximx30.c file is incorrect, it cant pass
compiling process.



Thanks for uploading! As for the aximx30.c file not compiling, that's
in the previously mentioned post too:

[quote]
f) modify aximx30.c to support new kernel: from kernel 2.6.13
,the macros to setup machine descrtipion is delete from kernel
source,so you should modify the endof aximx30.c as following:

      MACHINE_START(X30, "Dell Axim X30")
#if 0
      MAINTAINER("Giuseppe Zompatori, <[EMAIL PROTECTED]>")
      BOOT_MEM(0xa8000000, 0x40000000, io_p2v(0x40000000))
      BOOT_PARAMS(0xa0000100)
      MAPIO(x30_map_io)
      INITIRQ(x30_init_irq)
#endif
      .phys_ram       = 0xa8000000,
      .phys_io        = 0x40000000,
      .io_pg_offst    = (io_p2v(0x40000000) >> 18) & 0xfffc,
      .boot_params    =  0xa0000100,
      .map_io         = x30_map_io,
      .init_irq       = x30_init_irq,
      .timer          = &pxa_timer,
      .init_machine   = x30_init,
MACHINE_END
[/quote]


Thanks Fisherss and all the rest, for the great work you all put into
this!

Greetz and good luck,
JeDi


--
_______________________________________________
Aximx50-port mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/aximx50-port

--
_______________________________________________
Aximx50-port mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/aximx50-port

Reply via email to