Skip to contentSkip to conversation

EST SBC8260

DISCUSSION Michael E Crowe 4 participants 4 messages Mar 22, 2001

lore
Share & tools
lore
#0 lore raw

Hey guys,
I know therre have been several topics on this board already, but none
have answered a question that I have. In order to put a linux kernel onto this board, do I have to also purchase a JTAG from WindRiver like the VisionProbe or is the monitor that resides on the board enough to get PPCBoot working on it?

Thanks,
Mike

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

#1 lore raw
Quoted 4 lines · Michael E Crowe

.... In order to put a linux kernel
onto this board, do I have to also purchase a JTAG from WindRiver like the VisionProbe or is the monitor that resides on the board enough to get PPCBoot working on it?

The early boards I used didn't have much of a monitor, so I always used JTAG.

The main problem is the Wind tools assume the monitor is in the on-board flash, and the SIMM is a flash disk. If you power up the board, the monitor will re-write the SIMM into something it understands, so you can't put code out there and expect it to survive (at least with the recent versions I have seen). If you can convince the on-board monitor the flash the local part, well, you get one chance at PPCBoot :-).

Buy an Abatron BDI2000. You can use it for lots of things, including programming/debugging PPCBoot and the Linux kernel once you get to that point. It's worth every penny if you place any value on your time.

	-- Dan

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

#2 lore raw

The EST monitor ('VisionWare') has the ability to download images via TFTP, either directly to RAM or to a file in its on-board flash file system.

The catch is that the image has to be in EST's 'BDX' format. ELF files can be converted to BDX using EST's 'convert' utility. Your EST salesperson or FAE should be able to get you a copy of this program.

I was also able to load and boot a Linux kernel from the on-board monitor. When building the kernel, you need to use the command 'make vmlinux'. 'make zImage' creates an ELF file where the compressed kernel image does not appear in the file's program header, and thus it will not convert properly into BDX format. If you are using a RAM disk as your root filesystem, then the RAM disk image also needs to be converted to BDX format so it can be downloaded as well.

The last detail is that the kernel uses a value for the IMMR register that is different from that set up by visionWare, and it loads at address 0 which is protected by the visionWare monitor; so some minor mods are necessary to the boot code to load at some other address, re-write the IMMR, relocate to zero and then continue with the remainder of the boot process.

Scott

Quoted 18 lines · Dan Malek
Quoted 4 lines · Michael E Crowe

.... In order to put a linux kernel
onto this board, do I have to also purchase a JTAG from WindRiver like the VisionProbe or is the monitor that resides on the board enough to get PPCBoot working on it?

The early boards I used didn't have much of a monitor, so I always used JTAG.

The main problem is the Wind tools assume the monitor is in the on-board flash, and the SIMM is a flash disk. If you power up the board, the monitor will re-write the SIMM into something it understands, so you can't put code out there and expect it to survive (at least with the recent versions I have seen). If you can convince the on-board monitor the flash the local part, well, you get one chance at PPCBoot :-).

Quoted 7 lines

Buy an Abatron BDI2000. You can use it for lots of things, including programming/debugging PPCBoot and the Linux kernel once you get to that point. It's worth every penny if you place any value on your time.

        -- Dan

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

#3 lore raw
Quoted 1 line · In message <[email protected]> you wrote:

...

Quoted 6 lines

The last detail is that the kernel uses a value for the IMMR register that is different from that set up by visionWare, and it loads at address 0 which is protected by the visionWare monitor; so some minor mods are necessary to the boot code to load at some other address, re-write the IMMR, relocate to zero and then continue with the remainder of the boot process.

This still seems a long way to go when you can just install PPCBoot and have full Linux support.

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected]
Were there fewer fools, knaves would starve. - Anonymous

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