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-boun...@uclinux.org [mailto:uclinux-dev-boun...@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: dbrain...@infinisource.com<mailto:dbrain...@infinisource.com> To: uclinux-dev@uclinux.org<mailto:uclinux-dev@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-boun...@uclinux.org<mailto:uclinux-dev-boun...@uclinux.org> [mailto:uclinux-dev-boun...@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: dbrain...@infinisource.com<mailto:dbrain...@infinisource.com> To: uclinux-dev@uclinux.org<mailto:uclinux-dev@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-boun...@uclinux.org<mailto:uclinux-dev-boun...@uclinux.org> [mailto:uclinux-dev-boun...@uclinux.org] On Behalf Of Cristobal Chaves Sent: Wednesday, March 18, 2015 12:09 AM To: uclinux-dev@uclinux.org<mailto:uclinux-dev@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-dev@uclinux.org<mailto:uClinux-dev@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-dev@uclinux.org<mailto:uclinux-dev@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-dev@uclinux.org<mailto:uClinux-dev@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-dev@uclinux.org<mailto:uclinux-dev@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 ---------------------------------------------------------------------------------------
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev