Hi,
I've made many tests but i'm still stuck with a custom u-boot problem.
I create a custom u-boot (make menuconfig / make) in ~/sc58x/uboot folder
This create me a new u-boot and it works fine, I can load it from previous u-boot, store it to flash, and so on...
But
When I try to create a custom u-boot with SHARC firmware inside I experience a complete u-boot crash.
Here's what I've done:
1. Create a loader with elfloader (under windows)
elfloader.exe -proc ADSP-SC589 -si-revision any -b spimaster -f binary -width 8 -bcode 1 -init init -core0=u-boot -core1=MCAPI_Msg_SC589_SHARC_Core1.dxe -NoFinalTag=u-boot -NoFinalTag=MCAPI_Msg_SC589_SHARC_Core1.dxe -o u-boot-mcapi.ldr
2. Boot and stops boot of my SC589 by pressing a key
In u-boot, I set some parameters
set serverir myip
set ubootfile u-boot-mcapi.ldr
3. Try an update
run update
The u-boot loads the code without any error.
But:
If I try to save current u-boot parameters (with command save)
Or if I reboot the board
The board crash (with no serial log).
The only way is to restore a default-uboot with
cldp -proc ADSP-SC589 -core 1 -emu 1000 -driver "C:\Analog Devices\ADSP-SC5xx_EZ-KIT_Lite-Rel2.0.1\ADSP-SC5xx_EZ-KIT\Examples\Device_Programmer\sc589\sharc\sc589_w25q128fv_dpia_Core1\sc589_w25q128fv_dpia_Core1.dxe" -cmd prog -erase affected -format bin -file u-boot-sc58x-ezkit-hpc.ldr
Do you have any advice ?
Is it a flash address error or integrity loss ?
Final goal is to have an u-boot containing :
* original u-boot for ARM
* SHARC core 1 firmware
* SHARC core 2 firmware
I saw many post about embeddingboth SHARC firmware into u-boot, but don't find a simple procedure for this.
Any ideas will be welcome.
Regards
pierre