rk3288 SPL size
Hi,
it seems the new common rockchip pinctrl driver does not really fit into our phycore-rk3288 SPL setup. It works for every other rk3288 based board because they don't need special power configurations at the SPL stage.
So my question is: is there any work going on to reduce the SPL size even more?
Besides that, I think I can remove the power stuff at the SPL stage from our board. The SOM was redesigned and is equipped with an STM8 connected to the RK818. The required setup we did before in the SPL is now done by the ST controller. I know there are only a few SOMs without the STM8 out in the wild. So if I remove it it will affect only a few people who probably already have both boards.
Regards,
Wadim
Hi,
Am Freitag, 5. April 2019, 12:10:21 CEST schrieb Wadim Egorov:
Quoted 7 lines
it seems the new common rockchip pinctrl driver does not really fit into our phycore-rk3288 SPL setup. It works for every other rk3288 based board because they don't need special power configurations at the SPL stage.
So my question is: is there any work going on to reduce the SPL size even more?
Quoted 6 lines
Besides that, I think I can remove the power stuff at the SPL stage from our board. The SOM was redesigned and is equipped with an STM8 connected to the RK818. The required setup we did before in the SPL is now done by the ST controller. I know there are only a few SOMs without the STM8 out in the wild. So if I remove it it will affect only a few people who probably already have both boards.
alternatively you could introduce a tpl-stage, similar to what Amarula does with their Vyasa board. With spl in ram there is obviously no size limitation anymore.
But obviously if the power-fix isn't actually needed anymore, dropping it might be the easiest solution.
Wadim,
Quoted 7 lines · Wadim Egorov
Hi,
it seems the new common rockchip pinctrl driver does not really fit into our phycore-rk3288 SPL setup. It works for every other rk3288 based board because they don't need special power configurations at the SPL stage.
I recommend to implement a simple-pinctrl for SPL, which is similar to what we’ve done for the RK3399 (not on the list yet, as it’s collocated with a bigger rework of the DMC initialisation that reads some data from an I2C EEPROM).
As you’ll probably need to do this initialisation even at the TPL stage (if you use one on the RK3288), then the simple pinctrl will need to be available at TPL.
Thanks,
Phiilipp.
Quoted 13 lines
So my question is: is there any work going on to reduce the SPL size even more?
Besides that, I think I can remove the power stuff at the SPL stage from our board. The SOM was redesigned and is equipped with an STM8 connected to the RK818. The required setup we did before in the SPL is now done by the ST controller. I know there are only a few SOMs without the STM8 out in the wild. So if I remove it it will affect only a few people who probably already have both boards.
Regards,
Wadim
Quoted 5 lines · Wadim Egorov
Hi,
it seems the new common rockchip pinctrl driver does not really fit into our phycore-rk3288 SPL setup. It works for every other rk3288 based board because they don't need special power configurations at the SPL stage.
It turns out tinker-rk3288 SPL no longer fits in 2019.04 and previously worked fine in 2019.01.
Warning: SPL image is too large (size 0x8800) and will not boot
Error: image verification failed
built with gcc-linaro 6.3.2017.02
bisecting led to the pinctrl changes.
with SPL_PINCTRL_ROCKCHIP disabled it fits and U-Boot output on serial gets as far as the efi loader then no output appears on serial when a kernel is loaded.
Quoted 18 lines
So my question is: is there any work going on to reduce the SPL size even more?
Besides that, I think I can remove the power stuff at the SPL stage from our board. The SOM was redesigned and is equipped with an STM8 connected to the RK818. The required setup we did before in the SPL is now done by the ST controller. I know there are only a few SOMs without the STM8 out in the wild. So if I remove it it will affect only a few people who probably already have both boards.
Regards,
Wadim_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot
Quoted 13 lines · Jonathan Gray
Quoted 5 lines · Wadim Egorov
Hi,
it seems the new common rockchip pinctrl driver does not really fit into our phycore-rk3288 SPL setup. It works for every other rk3288 based board because they don't need special power configurations at the SPL stage.
It turns out tinker-rk3288 SPL no longer fits in 2019.04 and previously worked fine in 2019.01.
Warning: SPL image is too large (size
0x8800) and will not boot
Error: image verification failed
Quoted 7 lines
built with gcc-linaro 6.3.2017.02
bisecting led to the pinctrl changes.
with
SPL_PINCTRL_ROCKCHIPdisabled it fits and U-Boot output on serial gets as far as the efi loader then no output appears on serial when a kernel is loaded.
Changing the defconfig to not have CONFIG_SPL_I2C_SUPPORT=y also fits and also still hangs on loading a kernel.