at91sam9263 not booting on 3.12-rc1
Hi all,
I am trying to boot a 3.12-rc1 kernel on a calao USB-sam9263 (used default sam9263 config file) but the board hangs at the message:
"Uncompressing Linux... done, booting the kernel."
After git bisecting, the commit preventing the board to boot is:
--------------------
commit ef1ab239c0c7de29072577bc8a39859074603948
Author: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Date: Fri May 24 06:52:06 2013 +0800
ARM: at91: drop non DT: Calao USB-A96x
as now we have full DT support of those board
----------------------
So I enabled the CONFIG_USE_OF, the dtb are correctly generated.
I tried to boot again, specifying the dtb address with bootm.
tftp 0x20000000 /var/lib/tftpboot/at91/arch/arm/boot/usb_a9263.dtb
tftp 0x21000000 /var/lib/tftpboot/at91/arch/arm/boot/uImage
bootm 0x21000000 - 0x20000000
but without success.
I am wondering what I could be doing wrong ...
Any help would be appreciate.
-- Daniel
ps: u-boot is "U-Boot 2010.09 (Oct 27 2010 - 12:28:54)"
Signature · 5 lines
<http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Quoted 12 lines · Daniel Lezcano
So I enabled the
CONFIG_USE_OF, the dtb are correctly generated.I tried to boot again, specifying the dtb address with bootm.
tftp
0x20000000/var/lib/tftpboot/at91/arch/arm/boot/usb_a9263.dtbtftp
0x21000000/var/lib/tftpboot/at91/arch/arm/boot/uImagebootm
0x21000000-0x20000000but without success.
Quoted 8 lines
I am wondering what I could be doing wrong ...
Any help would be appreciate.
-- Daniel
ps: u-boot is "U-Boot 2010.09 (Oct 27 2010 - 12:28:54)"
I am not familiar with this board, but most likely this old U-boot does not support dtb booting.
You can check whether "#define CONFIG_OF_LIBFDT" is included in your board config file.
You could also try to update the bootloader or try to generate a kernel + dtb image (need to select CONFIG_ARM_APPENDED_DTB option in the kernel).
Regards,
Fabio Estevam
Quoted 24 lines · Fabio Estevam
Quoted 12 lines · Daniel Lezcano
So I enabled the
CONFIG_USE_OF, the dtb are correctly generated.I tried to boot again, specifying the dtb address with bootm.
tftp
0x20000000/var/lib/tftpboot/at91/arch/arm/boot/usb_a9263.dtbtftp
0x21000000/var/lib/tftpboot/at91/arch/arm/boot/uImagebootm
0x21000000-0x20000000but without success.
Quoted 8 lines
I am wondering what I could be doing wrong ...
Any help would be appreciate.
-- Daniel
ps: u-boot is "U-Boot 2010.09 (Oct 27 2010 - 12:28:54)"
Quoted 8 lines
I am not familiar with this board, but most likely this old U-boot does not support dtb booting.
You can check whether "#defineCONFIG_OF_LIBFDT" is included in your board config file.You could also try to update the bootloader or try to generate a kernel + dtb image (need to select
CONFIG_ARM_APPENDED_DTBoption in the kernel).
Hi Fabio,
thanks for your answer. It took me awhile to setup everything and find the right tools.
So I tried CONFIG_ARM_APPENDED_DTB but that does not work. I did not give much credit to that as it is flagged experimental.
Then I tried to flash a more recent u-boot but something went wrong. I have still the FlashRom prompt but the ttyACM0 where I can upload the u-boot does not appear anymore on my system.
I am totally stuck at this point ...
Signature · 5 lines
<http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Hi Daniel,
On 26/09/2013 15:27, Daniel Lezcano :
Quoted 34 lines · Fabio Estevam
Quoted 24 lines
Quoted 12 lines · Daniel Lezcano
So I enabled the
CONFIG_USE_OF, the dtb are correctly generated.I tried to boot again, specifying the dtb address with bootm.
tftp
0x20000000/var/lib/tftpboot/at91/arch/arm/boot/usb_a9263.dtbtftp
0x21000000/var/lib/tftpboot/at91/arch/arm/boot/uImagebootm
0x21000000-0x20000000but without success.
Quoted 8 lines
I am wondering what I could be doing wrong ...
Any help would be appreciate.
-- Daniel
ps: u-boot is "U-Boot 2010.09 (Oct 27 2010 - 12:28:54)"
Quoted 8 lines
I am not familiar with this board, but most likely this old U-boot does not support dtb booting.
You can check whether "#defineCONFIG_OF_LIBFDT" is included in your board config file.You could also try to update the bootloader or try to generate a kernel + dtb image (need to select
CONFIG_ARM_APPENDED_DTBoption in the kernel).
Quoted 7 lines
Hi Fabio,
thanks for your answer. It took me awhile to setup everything and find the right tools.
So I tried
CONFIG_ARM_APPENDED_DTBbut that does not work. I did not give much credit to that as it is flagged experimental.
Well I managed to use this technique successfully several of times. But maybe you still have to modify the machine ID.
Quoted 5 lines
Then I tried to flash a more recent u-boot but something went wrong. I have still the FlashRom prompt but the ttyACM0 where I can upload the u-boot does not appear anymore on my system.
I am totally stuck at this point ...
I hope that Jean-Christophe can help you with this as he is aware of the Calao boards.
There is probably a way to recover access to the SAM-BA prompt that will allow you to regain access to the flashing process. I have just fount this wiki page:
http://www.calao-systems.com/mediawiki/index.php?title=USB-A9263_Software#How_to_install_SAM-BA_from_buildroot
BTW, I think you should use barebox instead of u-boot as the support should be more complete.
Bye,
Signature · 1 line
Nicolas Ferre
Quoted 54 lines · Nicolas Ferre
Hi Daniel,
On 26/09/2013 15:27, Daniel Lezcano :
Quoted 34 lines · Fabio Estevam
Quoted 24 lines
Quoted 12 lines · Daniel Lezcano
So I enabled the
CONFIG_USE_OF, the dtb are correctly generated.I tried to boot again, specifying the dtb address with bootm.
tftp
0x20000000/var/lib/tftpboot/at91/arch/arm/boot/usb_a9263.dtbtftp
0x21000000/var/lib/tftpboot/at91/arch/arm/boot/uImagebootm
0x21000000-0x20000000but without success.
Quoted 8 lines
I am wondering what I could be doing wrong ...
Any help would be appreciate.
-- Daniel
ps: u-boot is "U-Boot 2010.09 (Oct 27 2010 - 12:28:54)"
Quoted 8 lines
I am not familiar with this board, but most likely this old U-boot does not support dtb booting.
You can check whether "#defineCONFIG_OF_LIBFDT" is included in your board config file.You could also try to update the bootloader or try to generate a kernel + dtb image (need to select
CONFIG_ARM_APPENDED_DTBoption in the kernel).Quoted 7 lines
Hi Fabio,
thanks for your answer. It took me awhile to setup everything and find the right tools.
So I tried
CONFIG_ARM_APPENDED_DTBbut that does not work. I did not give much credit to that as it is flagged experimental.Well I managed to use this technique successfully several of times. But maybe you still have to modify the machine ID.
Quoted 5 lines
Then I tried to flash a more recent u-boot but something went wrong. I have still the FlashRom prompt but the ttyACM0 where I can upload the u-boot does not appear anymore on my system.
I am totally stuck at this point ...
Quoted 7 lines
I hope that Jean-Christophe can help you with this as he is aware of the Calao boards.
There is probably a way to recover access to the SAM-BA prompt that will allow you to regain access to the flashing process. I have just fount this wiki page:
http://www.calao-systems.com/mediawiki/index.php?title=USB-A9263_Software#How_to_install_SAM-BA_from_buildroot
Yeah, I used this link to reflash the USB-A9263 and this is where a I believe I corrupted somehow the bootloader.
I don't know how, but I must find a way to recover the old bootloader.
Quoted 2 lines
BTW, I think you should use barebox instead of u-boot as the support should be more complete.
Ok, good to know. I will look at it.
Thanks
-- Daniel
Signature · 5 lines
<http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog