Help needed with uboot for CHIP
Gunjan Gupta
viraniac at gmail.com
Wed Mar 10 19:58:02 CET 2021
PFA my dts file. I have added the nfc section there as without that U-Boot
was giving a message about nfc being disabled in the dts.
Regarding trying the default config, I can't really do that as that doesn't
support booting from NAND and I want to be able to boot from NAND. Also I
don't think having different MTDPARTS value should create an issue, as I
didn't notice that being used in the SPL code. Please feel free to correct
me if I am wrong. Even if it was being used, I am flashing U-Boot to the
uboot partition and that is the same location that gets populated in
the CONFIG_SYS_NAND_U_BOOT_OFFS variable of the .config file.
On Thu, Mar 11, 2021 at 12:09 AM Alexandre GRIVEAUX <agriveaux at deutnet.info>
wrote:
> Le 10/03/2021 à 18:32, Gunjan Gupta a écrit :
> > Hi Alexandre,
> >
> > I saw your patch
> > <https://lists.denx.de/pipermail/u-boot/2021-January/438538.html> on
> > the U-boot mailing list. I am trying to get the latest U-boot working
> > on the CHIP with Hynix NAND and need your help with the same.
> >
> > I am using almost the same configuration as yours. I have also added
> > the nfc block in the dts file from the CHIP's original dts file. I am
> > able to boot the resultant U-boot from fel and also use env stored on
> > the NAND.
> >
> > When I write it on the nand and boot from it, spl fails to load and
> > jump to U-boot stored on the nand. I have tried a lot of things but
> > have not succeeded in solving this yet.
> >
> > Did you also face this problem?
> >
> > Please find attached my config file for your reference.
> >
> > Thanks & Regards
> > Gunjan Gupta
>
> Hello Gunjan,
>
>
> Thanks for reporting the problem, you seem to use differents
> "CONFIG_MTDPARTS_DEFAULT"
>
> Have you tried with the default defconfig ?
>
> What NFC block do you have added on dts file ?
>
>
> Thanks.
>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sun5i-r8-chip.dts
Type: audio/vnd.dts
Size: 8155 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210311/06917a42/attachment.bin>
More information about the U-Boot
mailing list