[PATCH v1] rockchip: include: asm: fix entering download mode rk3066

2023-09-11 Thread Johan Jonker
When a Rockchip rk3066 board download key is pressed it hangs. The rk3066 BROM doesn't have support to check the return to BROM, so when a key is pressed the loop that reads data must be broken by writing a "-1" to the variable that points to the next page address. It then goes in download mode and

Re: [PATCH v1] rockchip: include: asm: fix entering download mode rk3066

2023-09-13 Thread Johan Jonker
Hi, Maybe put this Rockchip rk3066 patch on hold, if we can find a better solution. Any insider help is appreciated here. The idea to test BOOT_BROM_DOWNLOAD comes from 30_LPDDR2_300MHz_DD.bin Setting location 0x10080028 only breaks the inner loop. BOOT_BROM_DOWNLOAD flag is not reset. It continu

Re: [PATCH v1] rockchip: include: asm: fix entering download mode rk3066

2023-09-14 Thread Kever Yang
Hi Johan, On 2023/9/13 19:00, Johan Jonker wrote: Hi, Maybe put this Rockchip rk3066 patch on hold, if we can find a better solution. Any insider help is appreciated here. The solution is to handle the BOOT_BROM_DOWNLOAD TAG in the ddr init binary, and the method is the same with return -1