Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

2015-03-19 Thread Brainard, Doug
We load u-boot into the internal flash of the LPC4357. We use QSPI flash for the Linux image. After u-boot configures the external SDRAM, Linux gets loaded into it, and then uncompressed and booted. To do this required some modifications to u-boot from the Emcraft source. I believe their

Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

2015-03-19 Thread Brainard, Doug
We're using a variation of it developed by Emcraft for that very same chip. It currently only uses the M4 portion, but it has worked pretty well for us. The source code is located at: https://github.com/EmcraftSystems/linux-emcraft We also used their expertise to perform a few modifications

Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

2015-03-20 Thread Brainard, Doug
What hardware are you using? Are you using a development board or a custom design? If you can try this on some known good hardware, then that will make this easier to work with. I can suggest u-boot modifications to you once I know more about your platform. Thanks, Doug Brainard From:

Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

2015-03-24 Thread Brainard, Doug
Config header will be something like the attached infinisource-lpc4357.h file that I included. Just create a new file with a name for your board in the same directory as mentioned below. The file needs to be modified for your desired features and board requirements. Thanks, Doug Brainard

Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

2015-03-23 Thread Brainard, Doug
Without a login, I apparently can't look at the schematic of the Embedded Artist's Dev Kit, so I'm going to be making some assumptions here. The following example assumes that the QSPI flash is attached to the following pins (but it's relatively easy to change): ยท CS attached to P3.8