Skip to contentSkip to conversation

Motorola MPC8240 Sandpoint embedded linux

DISCUSSION Nye Liu 3 participants 4 messages Jun 18, 1999 – Jun 19, 1999

lore
Share & tools
lore

Nye Liu

author
#0 lore raw

I have just started work on the MPC8240 Sandpoint platform (its basically an 603e with some integrated peripherals) but this is my first try at embedded linux devel. I have plenty of experience getting psos and vxworks running on a few different processors, but I am unfamiliar with the internals of how linux is booted.

I'm using ESTC's cheapo visionICE emulator solution, and would appriciate any help with getting this thing up and running.

The main problems that I see are:

Its not CHRP or PREP.

No prom, so i need to:
Set up the memory map.
Program the EPIC.

Verify that the current serial drivers work with the Sandpoint's NS PC87308.

Please email me directly, as I am not subscribed to this list, although i do read it regularly on the linuxppc site.

[email protected]

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#1 lore raw
Quoted 2 lines · Nye Liu

Verify that the current serial drivers work with the Sandpoint's NS PC87308.

Shouldn't be a problem, since my LongTrail also has a PC87308. It's a fairly standard Super I/O with builtin NS16550 serial ports.

Greetings,

Geert

--
Geert Uytterhoeven [email protected]
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#2 lore raw
In reply to Nye Liu
Quoted 6 lines · Nye Liu

I have just started work on the MPC8240 Sandpoint platform (its basically an 603e with some integrated peripherals) but this is my first try at embedded linux devel. I have plenty of experience getting psos and vxworks running on a few different processors, but I am unfamiliar with the internals of how linux is booted.

I've got one too. I'm a newbie with the ppc so this is my platform to learn things. I've mostly got a working VGA display configured and running...

Quoted 2 lines

I'm using ESTC's cheapo visionICE emulator solution, and would appriciate any help with getting this thing up and running.

The jury is still out on the ESTC emulator...

Quoted 7 lines

The main problems that I see are:

Its not CHRP or PREP.

No prom, so i need to:
Set up the memory map.
Program the EPIC.

Dink does all that for you. How 'bout booting linux from dink until linux is running? Then go back remove dink and fix the startup stuff.

Quoted 2 lines

Verify that the current serial drivers work with the Sandpoint's NS PC87308.

The code in dink has code to initialize the two serial ports.

If you want to get the floppy, mouse, keyboard, parallel ports, etcs going you've got to configure the '87308 for that. It looks like all you have to do is provide the base addresses for the peripherals to the '87308.

I couldn't find docs on National's website for the '87308 but I was able to get the floppy going by just reading the dink code. Anybody know where to get docs?

I was considering patching dink to add a command that would copy a floppy into memory. That might ease hacking.

Quoted 4 lines

Please email me directly, as I am not subscribed to this list, although i do read it regularly on the linuxppc site.

[email protected]

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#3 lore raw
Quoted 5 lines · Bob Doyle
Quoted 2 lines

Verify that the current serial drivers work with the Sandpoint's NS PC87308.

The code in dink has code to initialize the two serial ports.

Quoted 8 lines

If you want to get the floppy, mouse, keyboard, parallel ports, etcs going you've got to configure the '87308 for that. It looks like all you have to do is provide the base addresses for the peripherals to the '87308.

I couldn't find docs on National's website for the '87308 but I was able to get the floppy going by just reading the dink code. Anybody know where to get docs?

I have the doc in PDF format. Let me know if you want a copy by email. I don't have the CD with the doc at hand, but I can send it tomorrow.

Greetings,

Geert

--
Geert Uytterhoeven [email protected]
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]