Skip to contentSkip to conversation

Uploading problem in OSK5912

DISCUSSION Nishanth Menon 2 participants 2 messages Dec 3, 2005 – Dec 7, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines
Quoted 3 lines

*mount fs type jffs2 not supported by the kernel.*

Please read the section on how to enable Jffs2 in the kernel - make menuconfig, filesystem, check for MTD if flash driver is enabled etc..

If u dont have jffs2 available consider using ramdisk option too if ur filesystem is small and you dont care about files generated/modified after bootup.

---------Included Message----------

Quoted 118 lines

Date: Sat, 3 Dec 2005 06:19:45 -0600
From: "Jose Manuel Cano Garcia" <[email protected]>
To: "naga rajan" <[email protected]>, "Linux OMAP Open Source" <[email protected]>
Subject: Re: Uploading problem in OSK5912

Hi,

In the howto from oskfordummies a 2.6 kernel is recommended. Anyway, I supose you just have to recompile the kernel with jffs2 filesystem support and reflash it to the osk 5912 board.

Nevertheless...why are you reflashing the board if you are using the original montavista preview kit? Why not just download a .tar file with your application to the board original filesystem?

Quoted 22 lines · naga rajan

Dear Nishanth,

I followed up the steps in the mail what u have
sent for my query. I went through the documentation and copied the filesystem to the flash. I m using the kernel 2.4.20-8.While mounting the filesystem to */mnt/flash*, the following error occurred.

*mount fs type jffs2 not supported by the kernel.*

In the OSK5912 guide, it is mentioned to use redhat 7/9.Could
you tell me the way to get jffs2 for kernel 2.4.20-8 or any changes to be done to get the solution for the above problem? Waiting for your positive reply.

Quoted 77 lines

Thanks and regards�.

B.Nagarajan,

SANDS.

Quoted 67 lines · Nishanth

This is a generic issue,

Quoted 3 lines

*(i)how to upload and execute the applications in the kernel without

using

Quoted 3 lines

network server access ?*

Without using ethernet, You have lots of options:
jtag/flash/uart/usb(ost host) etc.. One excellent documentation I have seen for osk is: http://oskfordummies.hp.infoseek.co.jp/howto.html. Also u might be interested in checking out
http://linux.omap.com/pub/documentation/ for more data (some docs from other platforms might be generic enough to be useful). Ofcourse, google is a nice place to start off, and surely you can try checking this mailing list and the arm linux mailing list archives too..

Quoted 4 lines

*(ii) how to fuse my application into the flash?*.

To flash it use the uboot itself(if u already have one uboot on board) - it should support flashing options. Protect off, erase , cp commands should be good enough for NOR flash. There is help for the same within uboot itself (type help at uboot command prompt)
Or u can use the ost host tool as described in the oskfordummies.

Quoted 3 lines

*(iii)Is there any terminal program(like minicom,hyperterminal) to

upload

Quoted 3 lines

the executable file into the kernel for "tftp"?*.

Ok.. I assume that u would like to download kernel? Or do u want to download a filesystem? Let me try either one of them Onboard, u can use the loadb command that can take a file (uImage/uboot.bin/some bin) over serial port using Kermit. Once u have a filesystem (either ramdisk/jffs2 based flash/nfs filesystem) u can boot ur kernel. But a kernel alone will not be of much use to u. the apps need to reside on the filesystem. Once u have the filesystem is available and u have some sort of prompt, check the filesystem apps available. They should behave as if you are on a normal linux box.

Regards,
Nishanth Menon

------------------------------------------------------------------------

_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

Quoted 6 lines

_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

---------End of Included Message----------

#1 lore raw

Hi,

While mounting the filesystem using NFS, the following error occurred. DHCP
configures the IP address properly(192.168.0.150). What could be the problem?

Looking up port of RPC 100003/2 on 192.168.0.121

Looking up port of RPC 100005/1 on 192.168.0.121

Root-NFS: Server returned error -13 while mounting /tftpboot/serverip:/home/sach

in/montavista/filesys

VFS: Unable to mount root fs via NFS, trying floppy.

VFS: Cannot open root device "nfs" or 02:00

Please append a correct "root=" boot option

Kernel panic: VFS: Unable to mount root fs on 02:00

Please provide a solution for this problem.
Thanks in advance,
B.Nagarajan,
SANDS.

Quoted 149 lines · Nishanth Menon
Quoted 4 lines
Quoted 4 lines

*mount fs type jffs2 not supported by the kernel.*

Please read the section on how to enable Jffs2 in the kernel - make menuconfig, filesystem, check for MTD if flash driver is enabled etc..

If u dont have jffs2 available consider using ramdisk option too if ur filesystem is small and you dont care about files generated/modified after bootup.

---------Included Message----------

Quoted 3 lines

Date: Sat, 3 Dec 2005 06:19:45 -0600
From: "Jose Manuel Cano Garcia" <[email protected]>
To: "naga rajan" <[email protected]>, "Linux OMAP Open Source" <

[email protected]>

Quoted 8 lines

Subject: Re: Uploading problem in OSK5912

Hi,

In the howto from oskfordummies a 2.6 kernel is recommended. Anyway, I supose you just have to recompile the kernel with jffs2 filesystem support and reflash it to the osk 5912 board.

Quoted 14 lines

Nevertheless...why are you reflashing the board if you are using the original montavista preview kit? Why not just download a .tar file with your application to the board original filesystem?

Quoted 7 lines · naga rajan

Dear Nishanth,

I followed up the steps in the mail what u have
sent for my query. I went through the documentation and copied the filesystem to the flash. I m using the kernel 2.4.20-8.While mounting

the

Quoted 9 lines
Quoted 9 lines

filesystem to */mnt/flash*, the following error occurred.

*mount fs type jffs2 not supported by the kernel.*

In the OSK5912 guide, it is mentioned to use redhat

7/9.Could

Quoted 1 line
Quoted 1 line

you tell me the way to get jffs2 for kernel 2.4.20-8 or any changes to

be

Quoted 1 line
Quoted 1 line

done to get the solution for the above problem? Waiting for your

positive

Quoted 23 lines
Quoted 23 lines

reply.

Thanks and regards….

B.Nagarajan,

SANDS.

Quoted 9 lines · Nishanth

This is a generic issue,

Quoted 3 lines

*(i)how to upload and execute the applications in the kernel without

using

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines

network server access ?*

Without using ethernet, You have lots of options:
jtag/flash/uart/usb(ost host) etc.. One excellent documentation I have seen for osk is: http://oskfordummies.hp.infoseek.co.jp/howto.html.

Also

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

u might be interested in checking out
http://linux.omap.com/pub/documentation/ for more data (some docs from other platforms might be generic enough to be useful). Ofcourse, google is a nice place to start off, and surely you can try checking this mailing list and the arm linux mailing list archives too..

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

*(ii) how to fuse my application into the flash?*.

To flash it use the uboot itself(if u already have one uboot on board)

-

Quoted 13 lines
Quoted 13 lines
Quoted 13 lines

it should support flashing options. Protect off, erase , cp commands should be good enough for NOR flash. There is help for the same within uboot itself (type help at uboot command prompt)
Or u can use the ost host tool as described in the oskfordummies.

Quoted 3 lines

*(iii)Is there any terminal program(like minicom,hyperterminal) to

upload

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

the executable file into the kernel for "tftp"?*.

Ok.. I assume that u would like to download kernel? Or do u want to download a filesystem? Let me try either one of them Onboard, u can use the loadb command that can take a file (uImage/uboot.bin/some bin) over serial port using Kermit. Once u have

a

Quoted 21 lines
Quoted 12 lines
Quoted 11 lines

filesystem (either ramdisk/jffs2 based flash/nfs filesystem) u can boot ur kernel. But a kernel alone will not be of much use to u. the apps need to reside on the filesystem. Once u have the filesystem is available and u have some sort of prompt, check the filesystem apps available. They should behave as if you are on a normal linux box.

Regards,
Nishanth Menon

Quoted 8 lines
Quoted 8 lines

------------------------------------------------------------------------

_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

Quoted 6 lines

_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source

---------End of Included Message----------