Skip to contentSkip to conversation

Support for SNMC QS823/QS850 and QS860T boards

PATCH New Wolter Kamphuis 2 participants 2 messages Dec 5, 2003 – Dec 7, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Support for SNMC QS823/QS850 and QS860T boards

Hi all,

The past few days I've been busy porting Daris Nevil's PPCBoot patch to U-Boot. See http://qslinux.org/qslinux_2_4/ for the original PPCBoot patch.

I've made a few modifications:
The U-Boot patch uses a seperate sector to save the environment in instead of using the same sector as the patch for PPCBoot does. This prevents corruption of U-Boot while saving the environment.

Since Linux mtd requires the flash layout to be pased to the kernel (with a mtdparts=) U-Boot has to know the size of the flash. I've added this in QS823 and QS850 configfiles. The options are only used to set the environment and can be ignored if you don't use mtd.

The QS823 and QS850 boards need a baudrate prescale to divide the baudrate by four. I've added a CFG_BRGCLK_PRESCALE option to do this.

Since we only have a few QS850 boards here and no QS823 or QS860T I've only tested U-Boot on these QS850 boards. However, since the QS823 and QS860T are almost identical to the QS850 I assume my patch will also work for these boards.

Todo:
The reset command crashes the system. I'm not a systems engineer so I don't know how to solve this.
Test and verify U-Boot on the QS823 and QS860T boards.

Since the patch is 133Kb I didn't attached it to this e-mail. You can download it from my website http://wkamphuis.student.utwente.nl/u-boot/

Wolter Kamphuis
MuLogic B.V.

#1 lore raw

PATCH 1/1 Support for SNMC QS823/QS850 and QS860T boards

Quoted 3 lines · In message <[email protected]> you wrote:

The past few days I've been busy porting Daris Nevil's PPCBoot patch to U-Boot. See http://qslinux.org/qslinux_2_4/ for the original PPCBoot patch.

...

Thanks.

Quoted 2 lines

The reset command crashes the system. I'm not a systems engineer so I don't know how to solve this.

You probably have to #define CFG_RESET_ADDRESS to point to a non- existent memory location.

Quoted 2 lines

Since the patch is 133Kb I didn't attached it to this e-mail. You can download it from my website http://wkamphuis.student.utwente.nl/u-boot/

Done, and added.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
SW engineering is a race between programmers trying  to  make  better
idiot-proof programs and the universe producing greater idiots.