Discussion:
[uClinux-dev] boot uClinux from a Cortex-M should be simple
Cristobal Chaves
2015-03-18 06:08:55 UTC
Permalink
Hi everyone,


I have been working with uClinux on a microcontroller with Cortex-M4/M0, specifically with LPC4357.I have to say that I have previously worked with embedded linux, and in this project I managed properly configure and compile the kernel.However I am not able to boot uClinux. I think the easiest way is to load the u-boot directly to the RAM, because I had problems when I tried to boot the OS from iflash, flash, spiflah, emc8, emc16 or emc32.
All opinions interest me to try to solve the problem. In principle I would like to boot into core Cortex-M4 and Cortex-M0 in'll try to install another OS more primitive.
Thanks in advance!
Sincerely,
Cristobal
Brainard, Doug
2015-03-19 19:05:23 UTC
Permalink
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 specific to our project. I hope that helps get you started.

Thanks,

Doug Brainard


From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Wednesday, March 18, 2015 12:09 AM
To: uclinux-***@uclinux.org
Subject: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi everyone,
I have been working with uClinux on a microcontroller with Cortex-M4/M0, specifically with LPC4357.
I have to say that I have previously worked with embedded linux, and in this project I managed properly configure and compile the kernel.
However I am not able to boot uClinux. I think the easiest way is to load the u-boot directly to the RAM, because I had problems when I tried to boot the OS from iflash, flash, spiflah, emc8, emc16 or emc32.

All opinions interest me to try to solve the problem. In principle I would like to boot into core Cortex-M4 and Cortex-M0 in'll try to install another OS more primitive.

Thanks in advance!

Sincerely,

Cristobal
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------
Cristobal Chaves
2015-03-19 19:35:02 UTC
Permalink
Hi Doug Brainard,
I know the kernel and uboot offered by Emcraft , and also I tried to booting my microcontroller with this kernel and uboot.But I have not been successful. You could especificarme exactly the easiest way to boot the OS, uClinux.I mean, how I can use that image save and where. So far I've tried to boot from external memory, from internal flash and through UART, unsuccessfully all options. I'm not sure if I did it correctly though.The kerlnel is compiled correctly without errors, according with my hardware.
Thanks in advance,
Cristóbal
From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Thu, 19 Mar 2015 15:05:23 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

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 specific to our project. I hope that helps get you started. Thanks, Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Wednesday, March 18, 2015 12:09 AM
To: uclinux-***@uclinux.org
Subject: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi everyone,I have been working with uClinux on a microcontroller with Cortex-M4/M0, specifically with LPC4357.I have to say that I have previously worked with embedded linux, and in this project I managed properly configure and compile the kernel.However I am not able to boot uClinux. I think the easiest way is to load the u-boot directly to the RAM, because I had problems when I tried to boot the OS from iflash, flash, spiflah, emc8, emc16 or emc32. All opinions interest me to try to solve the problem. In principle I would like to boot into core Cortex-M4 and Cortex-M0 in'll try to install another OS more primitive. Thanks in advance! Sincerely, Cristobal

This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com



_______________________________________________
uClinux-dev mailing list
uClinux-***@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-***@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
Brainard, Doug
2015-03-19 19:53:30 UTC
Permalink
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 standard build is made to load u-boot from external NOR flash (they used the LPC4350) into SRAM. It then configures the SDRAM and loads Linux from external NOR flash into SDRAM before uncompressing and booting.

Are you getting to the u-boot console? If not, confirm that your boot options are set for they location you're trying to boot from. That would be the first thing to check.

If you're getting there, you probably need to modify the SDRAM settings in u-boot to your specific board memory specifications.

If you can clarify where you are getting stuck, I may be able to provide more help.

Thanks,

Doug Brainard


From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 1:35 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi Doug Brainard,

I know the kernel and uboot offered by Emcraft , and also I tried to booting my microcontroller with this kernel and uboot.
But I have not been successful. You could especificarme exactly the easiest way to boot the OS, uClinux.
I mean, how I can use that image save and where. So far I've tried to boot from external memory, from internal flash and through UART, unsuccessfully all options. I'm not sure if I did it correctly though.
The kerlnel is compiled correctly without errors, according with my hardware.

Thanks in advance,

Cristóbal

________________________________
From: ***@infinisource.com<mailto:***@infinisource.com>
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Date: Thu, 19 Mar 2015 15:05:23 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple
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<https://protect-us.mimecast.com/redirect/eNpdjjkOwjAQRe_iOgtQIJGKCHGCiM6NM54kI8WLxmMEQtwds1S0T-99_YeKBlSnTpehP2z6vaoU40zBFxY5CILUOTWOHIJJ0kBwRYGcJDhkCBb_YohSiB3ZkDdsj-Qn8pRCZsBfHcmqblepzGtRF5GYOt3qdiZZ8viWdHt2wGaS4Z4EXdLtSj7favzSsnFFTp-X2-cLov5CPg>

We also used their expertise to perform a few modifications specific to our project. I hope that helps get you started.

Thanks,

Doug Brainard


From: uclinux-dev-***@uclinux.org<mailto:uclinux-dev-***@uclinux.org> [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Wednesday, March 18, 2015 12:09 AM
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Subject: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi everyone,
I have been working with uClinux on a microcontroller with Cortex-M4/M0, specifically with LPC4357.
I have to say that I have previously worked with embedded linux, and in this project I managed properly configure and compile the kernel.
However I am not able to boot uClinux. I think the easiest way is to load the u-boot directly to the RAM, because I had problems when I tried to boot the OS from iflash, flash, spiflah, emc8, emc16 or emc32.

All opinions interest me to try to solve the problem. In principle I would like to boot into core Cortex-M4 and Cortex-M0 in'll try to install another OS more primitive.

Thanks in advance!

Sincerely,

Cristobal

________________________________
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com<http://protect-us.mimecast.com/redirect/eNpdjjEOwjAMRe_iubTAgEQnKo6AunUJjgFLJI4chwyIuxMhpq5P7-n_NySHMMJ5vkzH7XSADpTuLLGxpGKEtim5DxwIXbYeJTQFSzYJpCieVjEma8Rf1XF06k8cbxw5S1Gkf53Yw7jvoOizqQ-zNC7DMtRa1zsv0vz7svt8AVEqOB8>
________________________________

_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org<mailto:uClinux-***@uclinux.org> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev<http://protect-us.mimecast.com/redirect/eNpdjrEKAjEQRP8l9V2iFoJXefgJYpcmbuK5kGTDZnMI4r8bRCxs38wb5qmKAzWp0-U8HzbzXg2Kw4KUOytMEkDGVnXCFMBV0UCpV6BVoRQYyIc_GYp04q_sMDv2R8w3zFipMYSvXdCraTeoxrFX7yJlssaa5DAml3WDiLk9NPHyg9ZErNK3yJpvPvqw9rE1cP3c3b7eECNFsw> This message was resent by uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org> To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev<http://protect-us.mimecast.com/redirect/eNpdjsEKwjAQRP8l57ZRD4I9WfwE8ZZL3Kx1ocmGzaYI4r8bRDx4fTNvmKfJHsxoTpfzdNhMe9MZwZk4NZaFFUH7WoZIEcEXHYBjq0AtyhEFOOCfDFkbCVfxlLyEI6UbJSpcBfBrZwpm3HWmytKqd9U8Outs9LREn4YKC6X6GFjmH3SWs7ZXxdlv3Adc29aKUj5vt683ymNFVw>
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------
Cristobal Chaves
2015-03-19 20:24:40 UTC
Permalink
Hi Doug Brainard, I think if you loaded the u-boot into the internal flash of the LPC4357 and worked. It is best to follow the steps that you follow, at least be sure it works.I've never managed to get anything via USB port, I could not advance so much. I tried to find other variants, but also without success.
With other real-time operating systems I have worked with my microcontolador, LPC4357, but I really want to install uClinux, due to all of the advantages, as you well know.

Thanks in advance, Cristóbal
From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Thu, 19 Mar 2015 15:53:30 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

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 standard build is made to load u-boot from external NOR flash (they used the LPC4350) into SRAM. It then configures the SDRAM and loads Linux from external NOR flash into SDRAM before uncompressing and booting. Are you getting to the u-boot console? If not, confirm that your boot options are set for they location you’re trying to boot from. That would be the first thing to check. If you’re getting there, you probably need to modify the SDRAM settings in u-boot to your specific board memory specifications. If you can clarify where you are getting stuck, I may be able to provide more help. Thanks, Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 1:35 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi Doug Brainard, I know the kernel and uboot offered by Emcraft , and also I tried to booting my microcontroller with this kernel and uboot.But I have not been successful. You could especificarme exactly the easiest way to boot the OS, uClinux.I mean, how I can use that image save and where. So far I've tried to boot from external memory, from internal flash and through UART, unsuccessfully all options. I'm not sure if I did it correctly though.The kerlnel is compiled correctly without errors, according with my hardware. Thanks in advance, Cristóbal From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Thu, 19 Mar 2015 15:05:23 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWe’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 specific to our project. I hope that helps get you started. Thanks, Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Wednesday, March 18, 2015 12:09 AM
To: uclinux-***@uclinux.org
Subject: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi everyone,I have been working with uClinux on a microcontroller with Cortex-M4/M0, specifically with LPC4357.I have to say that I have previously worked with embedded linux, and in this project I managed properly configure and compile the kernel.However I am not able to boot uClinux. I think the easiest way is to load the u-boot directly to the RAM, because I had problems when I tried to boot the OS from iflash, flash, spiflah, emc8, emc16 or emc32. All opinions interest me to try to solve the problem. In principle I would like to boot into core Cortex-M4 and Cortex-M0 in'll try to install another OS more primitive. Thanks in advance! Sincerely, Cristobal This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev

This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com



_______________________________________________
uClinux-dev mailing list
uClinux-***@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-***@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
Brainard, Doug
2015-03-20 17:07:19 UTC
Permalink
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: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 2:25 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi Doug Brainard,

I think if you loaded the u-boot into the internal flash of the LPC4357 and worked. It is best to follow the steps that you follow, at least be sure it works.
I've never managed to get anything via USB port, I could not advance so much. I tried to find other variants, but also without success.

With other real-time operating systems I have worked with my microcontolador, LPC4357, but I really want to install uClinux, due to all of the advantages, as you well know.

Thanks in advance,

Cristóbal

________________________________
From: ***@infinisource.com<mailto:***@infinisource.com>
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Date: Thu, 19 Mar 2015 15:53:30 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple
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 standard build is made to load u-boot from external NOR flash (they used the LPC4350) into SRAM. It then configures the SDRAM and loads Linux from external NOR flash into SDRAM before uncompressing and booting.

Are you getting to the u-boot console? If not, confirm that your boot options are set for they location you're trying to boot from. That would be the first thing to check.

If you're getting there, you probably need to modify the SDRAM settings in u-boot to your specific board memory specifications.

If you can clarify where you are getting stuck, I may be able to provide more help.

Thanks,

Doug Brainard


From: uclinux-dev-***@uclinux.org<mailto:uclinux-dev-***@uclinux.org> [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 1:35 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi Doug Brainard,

I know the kernel and uboot offered by Emcraft , and also I tried to booting my microcontroller with this kernel and uboot.
But I have not been successful. You could especificarme exactly the easiest way to boot the OS, uClinux.
I mean, how I can use that image save and where. So far I've tried to boot from external memory, from internal flash and through UART, unsuccessfully all options. I'm not sure if I did it correctly though.
The kerlnel is compiled correctly without errors, according with my hardware.

Thanks in advance,

Cristóbal

________________________________
From: ***@infinisource.com<mailto:***@infinisource.com>
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Date: Thu, 19 Mar 2015 15:05:23 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple
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<https://protect-us.mimecast.com/redirect/eNpdjjkOwjAQRe_iOgtQIJGKCHGCiM6NM54kI8WLxmMEQtwds1S0T-99_YeKBlSnTpehP2z6vaoU40zBFxY5CILUOTWOHIJJ0kBwRYGcJDhkCBb_YohSiB3ZkDdsj-Qn8pRCZsBfHcmqblepzGtRF5GYOt3qdiZZ8viWdHt2wGaS4Z4EXdLtSj7favzSsnFFTp-X2-cLov5CPg>

We also used their expertise to perform a few modifications specific to our project. I hope that helps get you started.

Thanks,

Doug Brainard


From: uclinux-dev-***@uclinux.org<mailto:uclinux-dev-***@uclinux.org> [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Wednesday, March 18, 2015 12:09 AM
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Subject: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi everyone,
I have been working with uClinux on a microcontroller with Cortex-M4/M0, specifically with LPC4357.
I have to say that I have previously worked with embedded linux, and in this project I managed properly configure and compile the kernel.
However I am not able to boot uClinux. I think the easiest way is to load the u-boot directly to the RAM, because I had problems when I tried to boot the OS from iflash, flash, spiflah, emc8, emc16 or emc32.

All opinions interest me to try to solve the problem. In principle I would like to boot into core Cortex-M4 and Cortex-M0 in'll try to install another OS more primitive.

Thanks in advance!

Sincerely,

Cristobal

________________________________
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com<http://protect-us.mimecast.com/redirect/eNpdjjEOwjAMRe_iubTAgEQnKo6AunUJjgFLJI4chwyIuxMhpq5P7-n_NySHMMJ5vkzH7XSADpTuLLGxpGKEtim5DxwIXbYeJTQFSzYJpCieVjEma8Rf1XF06k8cbxw5S1Gkf53Yw7jvoOizqQ-zNC7DMtRa1zsv0vz7svt8AVEqOB8>
________________________________

_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org<mailto:uClinux-***@uclinux.org> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev<http://protect-us.mimecast.com/redirect/eNpdjrEKAjEQRP8l9V2iFoJXefgJYpcmbuK5kGTDZnMI4r8bRCxs38wb5qmKAzWp0-U8HzbzXg2Kw4KUOytMEkDGVnXCFMBV0UCpV6BVoRQYyIc_GYp04q_sMDv2R8w3zFipMYSvXdCraTeoxrFX7yJlssaa5DAml3WDiLk9NPHyg9ZErNK3yJpvPvqw9rE1cP3c3b7eECNFsw> This message was resent by uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org> To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev<http://protect-us.mimecast.com/redirect/eNpdjsEKwjAQRP8l57ZRD4I9WfwE8ZZL3Kx1ocmGzaYI4r8bRDx4fTNvmKfJHsxoTpfzdNhMe9MZwZk4NZaFFUH7WoZIEcEXHYBjq0AtyhEFOOCfDFkbCVfxlLyEI6UbJSpcBfBrZwpm3HWmytKqd9U8Outs9LREn4YKC6X6GFjmH3SWs7ZXxdlv3Adc29aKUj5vt683ymNFVw>

________________________________
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com<http://protect-us.mimecast.com/redirect/eNpdjjEOwjAMRe_iubTAgEQnKo6AunUJjgFLJI4chwyIuxMhpq5P7-n_NySHMMJ5vkzH7XSADpTuLLGxpGKEtim5DxwIXbYeJTQFSzYJpCieVjEma8Rf1XF06k8cbxw5S1Gkf53Yw7jvoOizqQ-zNC7DMtRa1zsv0vz7svt8AVEqOB8>
________________________________

_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org<mailto:uClinux-***@uclinux.org> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev<http://protect-us.mimecast.com/redirect/eNpdjrEKAjEQRP8l9V2iFoJXefgJYpcmbuK5kGTDZnMI4r8bRCxs38wb5qmKAzWp0-U8HzbzXg2Kw4KUOytMEkDGVnXCFMBV0UCpV6BVoRQYyIc_GYp04q_sMDv2R8w3zFipMYSvXdCraTeoxrFX7yJlssaa5DAml3WDiLk9NPHyg9ZErNK3yJpvPvqw9rE1cP3c3b7eECNFsw> This message was resent by uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org> To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev<http://protect-us.mimecast.com/redirect/eNpdjsEKwjAQRP8l57ZRD4I9WfwE8ZZL3Kx1ocmGzaYI4r8bRDx4fTNvmKfJHsxoTpfzdNhMe9MZwZk4NZaFFUH7WoZIEcEXHYBjq0AtyhEFOOCfDFkbCVfxlLyEI6UbJSpcBfBrZwpm3HWmytKqd9U8Outs9LREn4YKC6X6GFjmH3SWs7ZXxdlv3Adc29aKUj5vt683ymNFVw>
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------
Cristobal Chaves
2015-03-21 10:58:33 UTC
Permalink
I am working with the development kit of embedded artist,but also I'm working in parallel with a custom hardware, with different dirvers and applications, although I use the same microcontroller.All tests do them in the development kit and when I have success then I test my custom hardware.
Thanks,
Cristobal
From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Fri, 20 Mar 2015 13:07:19 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple


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: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 2:25 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi Doug Brainard, I think if you loaded the u-boot into the internal flash of the LPC4357 and worked. It is best to follow the steps that you follow, at least be sure it works.I've never managed to get anything via USB port, I could not advance so much. I tried to find other variants, but also without success. With other real-time operating systems I have worked with my microcontolador, LPC4357, but I really want to install uClinux, due to all of the advantages, as you well know. Thanks in advance, Cristóbal From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Thu, 19 Mar 2015 15:53:30 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWe 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 standard build is made to load u-boot from external NOR flash (they used the LPC4350) into SRAM. It then configures the SDRAM and loads Linux from external NOR flash into SDRAM before uncompressing and booting. Are you getting to the u-boot console? If not, confirm that your boot options are set for they location you’re trying to boot from. That would be the first thing to check. If you’re getting there, you probably need to modify the SDRAM settings in u-boot to your specific board memory specifications. If you can clarify where you are getting stuck, I may be able to provide more help. Thanks, Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 1:35 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi Doug Brainard, I know the kernel and uboot offered by Emcraft , and also I tried to booting my microcontroller with this kernel and uboot.But I have not been successful. You could especificarme exactly the easiest way to boot the OS, uClinux.I mean, how I can use that image save and where. So far I've tried to boot from external memory, from internal flash and through UART, unsuccessfully all options. I'm not sure if I did it correctly though.The kerlnel is compiled correctly without errors, according with my hardware. Thanks in advance, Cristóbal From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Thu, 19 Mar 2015 15:05:23 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWe’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 specific to our project. I hope that helps get you started. Thanks, Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Wednesday, March 18, 2015 12:09 AM
To: uclinux-***@uclinux.org
Subject: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi everyone,I have been working with uClinux on a microcontroller with Cortex-M4/M0, specifically with LPC4357.I have to say that I have previously worked with embedded linux, and in this project I managed properly configure and compile the kernel.However I am not able to boot uClinux. I think the easiest way is to load the u-boot directly to the RAM, because I had problems when I tried to boot the OS from iflash, flash, spiflah, emc8, emc16 or emc32. All opinions interest me to try to solve the problem. In principle I would like to boot into core Cortex-M4 and Cortex-M0 in'll try to install another OS more primitive. Thanks in advance! Sincerely, Cristobal This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev

This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com



_______________________________________________
uClinux-dev mailing list
uClinux-***@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-***@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
Brainard, Doug
2015-03-23 15:27:55 UTC
Permalink
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

· CLK attached to P3.3

· MOSI attached to P3.7

· MISO attached to P3.6

· IO2 attached to P3.5

· IO3 attached to P3.4

Also, you need to confirm how to set the processor to boot from USB0 and from internal flash. Without the schematic I can't tell you specifically, how that's done on that board. But for now, set it to USB0 mode.

In u-boot you'll need to create a new board config, folder, config header, and board.c file. The board.c configures all the I/O, RAM and other peripherals needed for u-boot to run. I've attached a copy of ours to give you an idea what needs to be added. I also attached our header file as an example, and that needs to be placed in the include/configs folder.

You'll definitely need to make changes to both to get things working for your particular hardware.

Once you compile your new configuration, you'll need to take the u-boot.bin and program it into the internal flash using DFUSec (which can be found at lpcware.com). Then power off the board, switch to internal flash boot mode, and power it up. If you've configured everything correctly, you should see a console via the UART.

Feel free to ask more specific questions as you go through this process.

Thanks,

Doug Brainard


From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Saturday, March 21, 2015 4:59 AM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

I am working with the development kit of embedded artist,but also I'm working in parallel with a custom hardware, with different dirvers and applications, although I use the same microcontroller.
All tests do them in the development kit and when I have success then I test my custom hardware.

Thanks,

Cristobal
________________________________
From: ***@infinisource.com<mailto:***@infinisource.com>
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Date: Fri, 20 Mar 2015 13:07:19 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple
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: uclinux-dev-***@uclinux.org<mailto:uclinux-dev-***@uclinux.org> [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 2:25 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi Doug Brainard,

I think if you loaded the u-boot into the internal flash of the LPC4357 and worked. It is best to follow the steps that you follow, at least be sure it works.
I've never managed to get anything via USB port, I could not advance so much. I tried to find other variants, but also without success.

With other real-time operating systems I have worked with my microcontolador, LPC4357, but I really want to install uClinux, due to all of the advantages, as you well know.

Thanks in advance,

Cristóbal

________________________________
From: ***@infinisource.com<mailto:***@infinisource.com>
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Date: Thu, 19 Mar 2015 15:53:30 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple
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 standard build is made to load u-boot from external NOR flash (they used the LPC4350) into SRAM. It then configures the SDRAM and loads Linux from external NOR flash into SDRAM before uncompressing and booting.

Are you getting to the u-boot console? If not, confirm that your boot options are set for they location you're trying to boot from. That would be the first thing to check.

If you're getting there, you probably need to modify the SDRAM settings in u-boot to your specific board memory specifications.

If you can clarify where you are getting stuck, I may be able to provide more help.

Thanks,

Doug Brainard


From: uclinux-dev-***@uclinux.org<mailto:uclinux-dev-***@uclinux.org> [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 1:35 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi Doug Brainard,

I know the kernel and uboot offered by Emcraft , and also I tried to booting my microcontroller with this kernel and uboot.
But I have not been successful. You could especificarme exactly the easiest way to boot the OS, uClinux.
I mean, how I can use that image save and where. So far I've tried to boot from external memory, from internal flash and through UART, unsuccessfully all options. I'm not sure if I did it correctly though.
The kerlnel is compiled correctly without errors, according with my hardware.

Thanks in advance,

Cristóbal

________________________________
From: ***@infinisource.com<mailto:***@infinisource.com>
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Date: Thu, 19 Mar 2015 15:05:23 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple
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<https://github.com/EmcraftSystems/linux-emcraft>

We also used their expertise to perform a few modifications specific to our project. I hope that helps get you started.

Thanks,

Doug Brainard


From: uclinux-dev-***@uclinux.org<mailto:uclinux-dev-***@uclinux.org> [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Wednesday, March 18, 2015 12:09 AM
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Subject: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi everyone,
I have been working with uClinux on a microcontroller with Cortex-M4/M0, specifically with LPC4357.
I have to say that I have previously worked with embedded linux, and in this project I managed properly configure and compile the kernel.
However I am not able to boot uClinux. I think the easiest way is to load the u-boot directly to the RAM, because I had problems when I tried to boot the OS from iflash, flash, spiflah, emc8, emc16 or emc32.

All opinions interest me to try to solve the problem. In principle I would like to boot into core Cortex-M4 and Cortex-M0 in'll try to install another OS more primitive.

Thanks in advance!

Sincerely,

Cristobal

________________________________
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com<http://www.mimecast.com>
________________________________

_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org<mailto:uClinux-***@uclinux.org> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev<http://mailman.uclinux.org/mailman/listinfo/uclinux-dev> This message was resent by uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org> To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev<http://mailman.uclinux.org/mailman/options/uclinux-dev>

________________________________
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com<http://www.mimecast.com>
________________________________

_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org<mailto:uClinux-***@uclinux.org> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev<http://mailman.uclinux.org/mailman/listinfo/uclinux-dev> This message was resent by uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org> To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev<http://mailman.uclinux.org/mailman/options/uclinux-dev>

________________________________
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com<http://www.mimecast.com>
________________________________

_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org<mailto:uClinux-***@uclinux.org> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev<http://mailman.uclinux.org/mailman/listinfo/uclinux-dev> This message was resent by uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org> To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev<http://mailman.uclinux.org/mailman/options/uclinux-dev>
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------
Cristobal Chaves
2015-03-24 08:08:19 UTC
Permalink
Hi Doug Brainard,
Thank you very much for the help, now I will try to follow your advices and I hope everything goes well.
Sincerely,
Cristóbal Chaves
From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Mon, 23 Mar 2015 11:27:55 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

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· CLK attached to P3.3· MOSI attached to P3.7· MISO attached to P3.6· IO2 attached to P3.5· IO3 attached to P3.4 Also, you need to confirm how to set the processor to boot from USB0 and from internal flash. Without the schematic I can’t tell you specifically, how that’s done on that board. But for now, set it to USB0 mode. In u-boot you’ll need to create a new board config, folder, config header, and board.c file. The board.c configures all the I/O, RAM and other peripherals needed for u-boot to run. I’ve attached a copy of ours to give you an idea what needs to be added. I also attached our header file as an example, and that needs to be placed in the include/configs folder. You’ll definitely need to make changes to both to get things working for your particular hardware. Once you compile your new configuration, you’ll need to take the u-boot.bin and program it into the internal flash using DFUSec (which can be found at lpcware.com). Then power off the board, switch to internal flash boot mode, and power it up. If you’ve configured everything correctly, you should see a console via the UART. Feel free to ask more specific questions as you go through this process. Thanks,
Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Saturday, March 21, 2015 4:59 AM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple I am working with the development kit of embedded artist,but also I'm working in parallel with a custom hardware, with different dirvers and applications, although I use the same microcontroller.All tests do them in the development kit and when I have success then I test my custom hardware. Thanks, CristobalFrom: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Fri, 20 Mar 2015 13:07:19 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWhat 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: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 2:25 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi Doug Brainard, I think if you loaded the u-boot into the internal flash of the LPC4357 and worked. It is best to follow the steps that you follow, at least be sure it works.I've never managed to get anything via USB port, I could not advance so much. I tried to find other variants, but also without success. With other real-time operating systems I have worked with my microcontolador, LPC4357, but I really want to install uClinux, due to all of the advantages, as you well know. Thanks in advance, Cristóbal From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Thu, 19 Mar 2015 15:53:30 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWe 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 standard build is made to load u-boot from external NOR flash (they used the LPC4350) into SRAM. It then configures the SDRAM and loads Linux from external NOR flash into SDRAM before uncompressing and booting. Are you getting to the u-boot console? If not, confirm that your boot options are set for they location you’re trying to boot from. That would be the first thing to check. If you’re getting there, you probably need to modify the SDRAM settings in u-boot to your specific board memory specifications. If you can clarify where you are getting stuck, I may be able to provide more help. Thanks, Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 1:35 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi Doug Brainard, I know the kernel and uboot offered by Emcraft , and also I tried to booting my microcontroller with this kernel and uboot.But I have not been successful. You could especificarme exactly the easiest way to boot the OS, uClinux.I mean, how I can use that image save and where. So far I've tried to boot from external memory, from internal flash and through UART, unsuccessfully all options. I'm not sure if I did it correctly though.The kerlnel is compiled correctly without errors, according with my hardware. Thanks in advance, Cristóbal From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Thu, 19 Mar 2015 15:05:23 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWe’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 specific to our project. I hope that helps get you started. Thanks, Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Wednesday, March 18, 2015 12:09 AM
To: uclinux-***@uclinux.org
Subject: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi everyone,I have been working with uClinux on a microcontroller with Cortex-M4/M0, specifically with LPC4357.I have to say that I have previously worked with embedded linux, and in this project I managed properly configure and compile the kernel.However I am not able to boot uClinux. I think the easiest way is to load the u-boot directly to the RAM, because I had problems when I tried to boot the OS from iflash, flash, spiflah, emc8, emc16 or emc32. All opinions interest me to try to solve the problem. In principle I would like to boot into core Cortex-M4 and Cortex-M0 in'll try to install another OS more primitive. Thanks in advance! Sincerely, Cristobal This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev

This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com



_______________________________________________
uClinux-dev mailing list
uClinux-***@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-***@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
Cristobal Chaves
2015-03-24 10:56:51 UTC
Permalink
Hi Doug Brainard,
It has become clear which steps must I follow in order to succeed in the boot of the onboard with uClinux.I have the schematic of the onboard with all specified ports and I can modify the "board.c" file with my settings and also my hex file.However, the "config header", how can I create it ?
Thanks in advance,
Cristobal
From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Mon, 23 Mar 2015 11:27:55 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

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· CLK attached to P3.3· MOSI attached to P3.7· MISO attached to P3.6· IO2 attached to P3.5· IO3 attached to P3.4 Also, you need to confirm how to set the processor to boot from USB0 and from internal flash. Without the schematic I can’t tell you specifically, how that’s done on that board. But for now, set it to USB0 mode. In u-boot you’ll need to create a new board config, folder, config header, and board.c file. The board.c configures all the I/O, RAM and other peripherals needed for u-boot to run. I’ve attached a copy of ours to give you an idea what needs to be added. I also attached our header file as an example, and that needs to be placed in the include/configs folder. You’ll definitely need to make changes to both to get things working for your particular hardware. Once you compile your new configuration, you’ll need to take the u-boot.bin and program it into the internal flash using DFUSec (which can be found at lpcware.com). Then power off the board, switch to internal flash boot mode, and power it up. If you’ve configured everything correctly, you should see a console via the UART. Feel free to ask more specific questions as you go through this process. Thanks,
Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Saturday, March 21, 2015 4:59 AM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple I am working with the development kit of embedded artist,but also I'm working in parallel with a custom hardware, with different dirvers and applications, although I use the same microcontroller.All tests do them in the development kit and when I have success then I test my custom hardware. Thanks, CristobalFrom: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Fri, 20 Mar 2015 13:07:19 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWhat 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: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 2:25 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi Doug Brainard, I think if you loaded the u-boot into the internal flash of the LPC4357 and worked. It is best to follow the steps that you follow, at least be sure it works.I've never managed to get anything via USB port, I could not advance so much. I tried to find other variants, but also without success. With other real-time operating systems I have worked with my microcontolador, LPC4357, but I really want to install uClinux, due to all of the advantages, as you well know. Thanks in advance, Cristóbal From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Thu, 19 Mar 2015 15:53:30 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWe 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 standard build is made to load u-boot from external NOR flash (they used the LPC4350) into SRAM. It then configures the SDRAM and loads Linux from external NOR flash into SDRAM before uncompressing and booting. Are you getting to the u-boot console? If not, confirm that your boot options are set for they location you’re trying to boot from. That would be the first thing to check. If you’re getting there, you probably need to modify the SDRAM settings in u-boot to your specific board memory specifications. If you can clarify where you are getting stuck, I may be able to provide more help. Thanks, Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 1:35 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi Doug Brainard, I know the kernel and uboot offered by Emcraft , and also I tried to booting my microcontroller with this kernel and uboot.But I have not been successful. You could especificarme exactly the easiest way to boot the OS, uClinux.I mean, how I can use that image save and where. So far I've tried to boot from external memory, from internal flash and through UART, unsuccessfully all options. I'm not sure if I did it correctly though.The kerlnel is compiled correctly without errors, according with my hardware. Thanks in advance, Cristóbal From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Thu, 19 Mar 2015 15:05:23 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWe’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 specific to our project. I hope that helps get you started. Thanks, Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Wednesday, March 18, 2015 12:09 AM
To: uclinux-***@uclinux.org
Subject: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi everyone,I have been working with uClinux on a microcontroller with Cortex-M4/M0, specifically with LPC4357.I have to say that I have previously worked with embedded linux, and in this project I managed properly configure and compile the kernel.However I am not able to boot uClinux. I think the easiest way is to load the u-boot directly to the RAM, because I had problems when I tried to boot the OS from iflash, flash, spiflah, emc8, emc16 or emc32. All opinions interest me to try to solve the problem. In principle I would like to boot into core Cortex-M4 and Cortex-M0 in'll try to install another OS more primitive. Thanks in advance! Sincerely, Cristobal This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev

This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com



_______________________________________________
uClinux-dev mailing list
uClinux-***@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-***@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
Brainard, Doug
2015-03-24 16:54:53 UTC
Permalink
"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


From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Tuesday, March 24, 2015 4:57 AM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi Doug Brainard,

It has become clear which steps must I follow in order to succeed in the boot of the onboard with uClinux.
I have the schematic of the onboard with all specified ports and I can modify the "board.c" file with my settings and also my hex file.
However, the "config header", how can I create it ?

Thanks in advance,

Cristobal
________________________________
From: ***@infinisource.com<mailto:***@infinisource.com>
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Date: Mon, 23 Mar 2015 11:27:55 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple
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
* CLK attached to P3.3
* MOSI attached to P3.7
* MISO attached to P3.6
* IO2 attached to P3.5
* IO3 attached to P3.4

Also, you need to confirm how to set the processor to boot from USB0 and from internal flash. Without the schematic I can't tell you specifically, how that's done on that board. But for now, set it to USB0 mode.

In u-boot you'll need to create a new board config, folder, config header, and board.c file. The board.c configures all the I/O, RAM and other peripherals needed for u-boot to run. I've attached a copy of ours to give you an idea what needs to be added. I also attached our header file as an example, and that needs to be placed in the include/configs folder.

You'll definitely need to make changes to both to get things working for your particular hardware.

Once you compile your new configuration, you'll need to take the u-boot.bin and program it into the internal flash using DFUSec (which can be found at lpcware.com). Then power off the board, switch to internal flash boot mode, and power it up. If you've configured everything correctly, you should see a console via the UART.

Feel free to ask more specific questions as you go through this process.

Thanks,

Doug Brainard


From: uclinux-dev-***@uclinux.org<mailto:uclinux-dev-***@uclinux.org> [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Saturday, March 21, 2015 4:59 AM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

I am working with the development kit of embedded artist,but also I'm working in parallel with a custom hardware, with different dirvers and applications, although I use the same microcontroller.
All tests do them in the development kit and when I have success then I test my custom hardware.

Thanks,

Cristobal
________________________________
From: ***@infinisource.com<mailto:***@infinisource.com>
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Date: Fri, 20 Mar 2015 13:07:19 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple
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: uclinux-dev-***@uclinux.org<mailto:uclinux-dev-***@uclinux.org> [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 2:25 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi Doug Brainard,

I think if you loaded the u-boot into the internal flash of the LPC4357 and worked. It is best to follow the steps that you follow, at least be sure it works.
I've never managed to get anything via USB port, I could not advance so much. I tried to find other variants, but also without success.

With other real-time operating systems I have worked with my microcontolador, LPC4357, but I really want to install uClinux, due to all of the advantages, as you well know.

Thanks in advance,

Cristóbal

________________________________
From: ***@infinisource.com<mailto:***@infinisource.com>
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Date: Thu, 19 Mar 2015 15:53:30 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple
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 standard build is made to load u-boot from external NOR flash (they used the LPC4350) into SRAM. It then configures the SDRAM and loads Linux from external NOR flash into SDRAM before uncompressing and booting.

Are you getting to the u-boot console? If not, confirm that your boot options are set for they location you're trying to boot from. That would be the first thing to check.

If you're getting there, you probably need to modify the SDRAM settings in u-boot to your specific board memory specifications.

If you can clarify where you are getting stuck, I may be able to provide more help.

Thanks,

Doug Brainard


From: uclinux-dev-***@uclinux.org<mailto:uclinux-dev-***@uclinux.org> [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 1:35 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi Doug Brainard,

I know the kernel and uboot offered by Emcraft , and also I tried to booting my microcontroller with this kernel and uboot.
But I have not been successful. You could especificarme exactly the easiest way to boot the OS, uClinux.
I mean, how I can use that image save and where. So far I've tried to boot from external memory, from internal flash and through UART, unsuccessfully all options. I'm not sure if I did it correctly though.
The kerlnel is compiled correctly without errors, according with my hardware.

Thanks in advance,

Cristóbal

________________________________
From: ***@infinisource.com<mailto:***@infinisource.com>
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Date: Thu, 19 Mar 2015 15:05:23 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple
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<https://github.com/EmcraftSystems/linux-emcraft>

We also used their expertise to perform a few modifications specific to our project. I hope that helps get you started.

Thanks,

Doug Brainard


From: uclinux-dev-***@uclinux.org<mailto:uclinux-dev-***@uclinux.org> [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Wednesday, March 18, 2015 12:09 AM
To: uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org>
Subject: [uClinux-dev] boot uClinux from a Cortex-M should be simple

Hi everyone,
I have been working with uClinux on a microcontroller with Cortex-M4/M0, specifically with LPC4357.
I have to say that I have previously worked with embedded linux, and in this project I managed properly configure and compile the kernel.
However I am not able to boot uClinux. I think the easiest way is to load the u-boot directly to the RAM, because I had problems when I tried to boot the OS from iflash, flash, spiflah, emc8, emc16 or emc32.

All opinions interest me to try to solve the problem. In principle I would like to boot into core Cortex-M4 and Cortex-M0 in'll try to install another OS more primitive.

Thanks in advance!

Sincerely,

Cristobal

________________________________
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com<http://www.mimecast.com>
________________________________

_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org<mailto:uClinux-***@uclinux.org> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev<http://mailman.uclinux.org/mailman/listinfo/uclinux-dev> This message was resent by uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org> To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev<http://mailman.uclinux.org/mailman/options/uclinux-dev>

________________________________
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com<http://www.mimecast.com>
________________________________

_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org<mailto:uClinux-***@uclinux.org> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev<http://mailman.uclinux.org/mailman/listinfo/uclinux-dev> This message was resent by uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org> To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev<http://mailman.uclinux.org/mailman/options/uclinux-dev>

________________________________
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com<http://www.mimecast.com>
________________________________

_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org<mailto:uClinux-***@uclinux.org> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev<http://mailman.uclinux.org/mailman/listinfo/uclinux-dev> This message was resent by uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org> To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev<http://mailman.uclinux.org/mailman/options/uclinux-dev>

________________________________
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com<http://www.mimecast.com>
________________________________

_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org<mailto:uClinux-***@uclinux.org> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev<http://mailman.uclinux.org/mailman/listinfo/uclinux-dev> This message was resent by uclinux-***@uclinux.org<mailto:uclinux-***@uclinux.org> To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev<http://mailman.uclinux.org/mailman/options/uclinux-dev>
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------
Cristobal Chaves
2015-03-25 12:10:24 UTC
Permalink
Thank you very much again.
Sincerely
Cristobal Chaves

From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Tue, 24 Mar 2015 12:54:53 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple


“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 From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Tuesday, March 24, 2015 4:57 AM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi Doug Brainard, It has become clear which steps must I follow in order to succeed in the boot of the onboard with uClinux.I have the schematic of the onboard with all specified ports and I can modify the "board.c" file with my settings and also my hex file.However, the "config header", how can I create it ? Thanks in advance, CristobalFrom: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Mon, 23 Mar 2015 11:27:55 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWithout 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· CLK attached to P3.3· MOSI attached to P3.7· MISO attached to P3.6· IO2 attached to P3.5· IO3 attached to P3.4 Also, you need to confirm how to set the processor to boot from USB0 and from internal flash. Without the schematic I can’t tell you specifically, how that’s done on that board. But for now, set it to USB0 mode. In u-boot you’ll need to create a new board config, folder, config header, and board.c file. The board.c configures all the I/O, RAM and other peripherals needed for u-boot to run. I’ve attached a copy of ours to give you an idea what needs to be added. I also attached our header file as an example, and that needs to be placed in the include/configs folder. You’ll definitely need to make changes to both to get things working for your particular hardware. Once you compile your new configuration, you’ll need to take the u-boot.bin and program it into the internal flash using DFUSec (which can be found at lpcware.com). Then power off the board, switch to internal flash boot mode, and power it up. If you’ve configured everything correctly, you should see a console via the UART. Feel free to ask more specific questions as you go through this process. Thanks,
Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Saturday, March 21, 2015 4:59 AM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple I am working with the development kit of embedded artist,but also I'm working in parallel with a custom hardware, with different dirvers and applications, although I use the same microcontroller.All tests do them in the development kit and when I have success then I test my custom hardware. Thanks, CristobalFrom: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Fri, 20 Mar 2015 13:07:19 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWhat 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: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 2:25 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi Doug Brainard, I think if you loaded the u-boot into the internal flash of the LPC4357 and worked. It is best to follow the steps that you follow, at least be sure it works.I've never managed to get anything via USB port, I could not advance so much. I tried to find other variants, but also without success. With other real-time operating systems I have worked with my microcontolador, LPC4357, but I really want to install uClinux, due to all of the advantages, as you well know. Thanks in advance, Cristóbal From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Thu, 19 Mar 2015 15:53:30 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWe 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 standard build is made to load u-boot from external NOR flash (they used the LPC4350) into SRAM. It then configures the SDRAM and loads Linux from external NOR flash into SDRAM before uncompressing and booting. Are you getting to the u-boot console? If not, confirm that your boot options are set for they location you’re trying to boot from. That would be the first thing to check. If you’re getting there, you probably need to modify the SDRAM settings in u-boot to your specific board memory specifications. If you can clarify where you are getting stuck, I may be able to provide more help. Thanks, Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Thursday, March 19, 2015 1:35 PM
To: uClinux development list
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi Doug Brainard, I know the kernel and uboot offered by Emcraft , and also I tried to booting my microcontroller with this kernel and uboot.But I have not been successful. You could especificarme exactly the easiest way to boot the OS, uClinux.I mean, how I can use that image save and where. So far I've tried to boot from external memory, from internal flash and through UART, unsuccessfully all options. I'm not sure if I did it correctly though.The kerlnel is compiled correctly without errors, according with my hardware. Thanks in advance, Cristóbal From: ***@infinisource.com
To: uclinux-***@uclinux.org
Date: Thu, 19 Mar 2015 15:05:23 -0400
Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simpleWe’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 specific to our project. I hope that helps get you started. Thanks, Doug Brainard From: uclinux-dev-***@uclinux.org [mailto:uclinux-dev-***@uclinux.org] On Behalf Of Cristobal Chaves
Sent: Wednesday, March 18, 2015 12:09 AM
To: uclinux-***@uclinux.org
Subject: [uClinux-dev] boot uClinux from a Cortex-M should be simple Hi everyone,I have been working with uClinux on a microcontroller with Cortex-M4/M0, specifically with LPC4357.I have to say that I have previously worked with embedded linux, and in this project I managed properly configure and compile the kernel.However I am not able to boot uClinux. I think the easiest way is to load the u-boot directly to the RAM, because I had problems when I tried to boot the OS from iflash, flash, spiflah, emc8, emc16 or emc32. All opinions interest me to try to solve the problem. In principle I would like to boot into core Cortex-M4 and Cortex-M0 in'll try to install another OS more primitive. Thanks in advance! Sincerely, Cristobal This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
_______________________________________________ uClinux-dev mailing list uClinux-***@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-***@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev

This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com



_______________________________________________
uClinux-dev mailing list
uClinux-***@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-***@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
Brad Walker
2015-03-20 16:38:12 UTC
Permalink
> Date: Thu, 19 Mar 2015 15:05:23 -0400
> From: "Brainard, Doug" <***@infinisource.com>
> To: uClinux development list <uclinux-***@uclinux.org>
> Subject: Re: [uClinux-dev] boot uClinux from a Cortex-M should be simple


> 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 specific to
our project. I hope that helps get you started.

> Thanks,

> Doug Brainard

I did some consulting work at a client who was using the uCLinux
distribution from Emcraft on a Freescale Cortex-M4 part. It worked very
well. The build was smooth and the boot worked as expected. I I made
changes to Linux to enable the crypto engine on the Freescale part and
enabled DMA on the serial port. Those changes were pulled into their tree.

So I would have to echo Doug's comments that it worked pretty well.

If there is something technically specific that you can post, then we could
provide better suggestions for help.

Brad Walker
Loading...