Trying to boot custom kernel on Wink Hub (i.MX28)

Rogan Dawes rogan at dawes.za.net
Mon Sep 25 21:27:15 CEST 2023


That outputs LLC about a second after the mxsldr terminates (kinda slowly,
the individual characters can be seen being emitted one at a time), and
then about 5 seconds later, "Pref". But nothing after that point.

At least it looks like there is something happening, which is excellent!

Thank you!

Without CONFIG_SPL_MXS_PMU_ENABLE_4P2_LINEAR_REGULATOR=y, (i.e. all 3 PMU
options not set) I still get the LLC\nPref as previously.

With only CONFIG_SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT=y, I get LLC\nPref
With only CONFIG_SPL_MXS_PMU_DISABLE_BATT_CHARGE=y, I get LLC\nPref
With only CONFIG_SPL_MXS_PMU_ENABLE_4P2_LINEAR_REGULATOR=y, I get LLC\nPref

With CONFIG_SPL_MXS_PMU_ENABLE_4P2_LINEAR_REGULATOR=y, AND:
- CONFIG_SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT=y, I just get a single L.
- CONFIG_SPL_MXS_PMU_DISABLE_BATT_CHARGE=y, I get the LLC\nPref as
previously.

With CONFIG_SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT=y AND
CONFIG_SPL_MXS_PMU_DISABLE_BATT_CHARGE=y, I get LLC\nPref

With all three =y, I just get L

Rogan

On Mon, 25 Sept 2023 at 17:50, Fabio Estevam <festevam at gmail.com> wrote:
>
> On Mon, Sep 25, 2023 at 11:00 AM Rogan Dawes <rogan at dawes.za.net> wrote:
>
> > I see absolutely nothing in the console.
> >
> > I’m wondering whether I can possibly execute the vendor SPL with a
modern u-boot?
>
> The old U-Boot vendor does not use SPL. It uses an old mechanism
> called bootlets.
>
> I suggest that we start from scratch with this imx28-wink-hub support
> that I have just added:
> https://github.com/fabioestevam/u-boot/commits/wink
>
> To build it:
>
> make imx28-wink-hub_defconfig
> make u-boot.sb
>
> Then try to load u-boot.sb via mxsldr.
>
> If it still fails, then I suspect that the power management unit (PMU)
> may be incorrectly configured causing the board to not power up.
>
> Try playing with the CONFIG_SPL_MXS_PMU_ options.
>
> From configs/imx28_xea_defconfig, for example:
>
> CONFIG_SPL_MXS_PMU_MINIMAL_VDD5V_CURRENT=y
> CONFIG_SPL_MXS_PMU_DISABLE_BATT_CHARGE=y
> # CONFIG_SPL_MXS_PMU_ENABLE_4P2_LINEAR_REGULATOR is not set


More information about the U-Boot mailing list