Skip to contentSkip to conversation

MC850 peripheral support in linux

DISCUSSION Rupesh S 2 participants 2 messages Mar 26, 2004

lore
Share & tools
lore

Rupesh S

author
#0 lore raw

Hi ,

Quoted 1 line
Quoted 1 line

1) Does the I2C bus support in the kernel works for the internal I2C

controller of MC850

Quoted 1 line
Quoted 1 line

2) Does the RTC support in the kernel (char driver) works for the

internal RTC of MC850

Quoted 1 line
Quoted 1 line

3) Does the PCMCIA support in the kernel (IDE drivers) works for

the internal PCMCIA Socket controller of MC850

Quoted 1 line

3 x yes. But I can only speak of the DENX kernel trees.

I plan to use the latest ELDK from DENX
Is there any known problems in ELDK Distro?
I could see that the ELDK distro is well packed with all toolchains, kernel and applications.
I could no find out the "target filesystem" ?
Should the target filesystem be created manually from the directory into which I install all the application RPMs.? Is there any script files already available doing the same.

How is the kernel and rotofs attachment done ?
Do I need o do it with my bootloader passing command line arguments to the kernel ? (I plan to use u-boot).

Quoted 1 line

Don't expect too much of performance out of a 850; the tiny

caches

Quoted 1 line

a major pain.

As far as performance is considered, I do not need very high. Out of curisity, what exactly is the problem ?

Thanks
--
Rupesh S

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 3 lines · In message <s063f6d1.092@EMAIL> you wrote:

I plan to use the latest ELDK from DENX
Is there any known problems in ELDK Distro?

Yes, a few.

* The static microwindows libraries were stripped and are useless for linking; updated RPM's are available.

* The index for the local RTC has changed in the NTPD source so you may need to adapt your /etc/ntp.conf file; documentation was updated at
http://www.denx.de/twiki/bin/view/DULG/UseNTPToSynchronizeSystemTimeAgainstRTC

Quoted 3 lines

I could see that the ELDK distro is well packed with all toolchains, kernel and applications.
I could no find out the "target filesystem" ?

If you install for example the "ppc_8xx" packages to the default
location /opt/eldk, then /opt/eldk/ppc_8xx/ will be the root
directory of your target filesystem. You can use this and export it on a NFS server; see the detailed documentation in the DULG.

Quoted 3 lines

Should the target filesystem be created manually from the directory into which I install all the application RPMs.? Is there any script files already available doing the same.

If you're talking about a standlone target filesystem you can use the SELF package; eitehr by using the SELF source RPM and modifying the
build script, or by using the pre-build images in
/opt/eldk/ppc_8xx/images/ and modifying those as documented, see
http://www.denx.de/twiki/bin/view/DULG/HowToAddFiles and
http://www.denx.de/twiki/bin/view/DULG/HowToIncreaseSizeOfRamdisk

Or you can start from scratch using the standard tools like genext2fs, mkcramfs, mkfs.jffs2, etc.

Quoted 1 line

How is the kernel and rotofs attachment done ?

We normally use U-Boot to boot LInux. Just read the DULG for details:
http://www.denx.de/twiki/bin/view/DULG/Manual

Quoted 2 lines

Do I need o do it with my bootloader passing command line arguments to the kernel ? (I plan to use u-boot).

Read the DULG.

Quoted 6 lines
Quoted 1 line

Don't expect too much of performance out of a 850; the tiny

caches

Quoted 1 line

a major pain.

As far as performance is considered, I do not need very high. Out of curisity, what exactly is the problem ?

As I wrote: it's the tiny caches. Performance on RISC processors like the PowerPC stands and falls witch cache size. A PowerPC processor with only 2 kB Instruction Cache and 1 kB Data Cache like the MPC850 performs as castrated.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] It's a small world, but I wouldn't want to paint it.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/