[U-Boot-Users] [PATCH] 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.

In message 3FD08F14.20903@wkamphuis.student.utwente.nl 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.
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.
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
participants (2)
-
Wolfgang Denk
-
Wolter Kamphuis