[OpenWrt-Devel] [PATCH] uboot-lantiq: fix P-2812HNU-F1/3 package dependency
Daniel Schwierzeck
daniel.schwierzeck at gmail.com
Fri Jan 30 08:51:13 EST 2015
Am 30.01.2015 um 13:42 schrieb Ben Mulvihill:
>
>>
>> the NAND boot does not work yet. I was not able to make it work with a
>> SPL only because the BootROM only reads the first page. The Lantiq UGW
>> U-Boot uses a very small pre-loader which loads another pre-loader and
>> fits in the first page. Thus we need to convert to SPL/TPL support
>> from mainline U-Boot. But I hadn't enough time yet to work on it.
>
> I see. But is that the case with all lantiq nand boards? Do they all
> have the same bootrom? By the looks of it they don't all have the same
> page size (HH3A has 512 byte, P-2812HNU has 2K).
>
> Having read your explanation, I guess that I was in fact replacing just
> the actual uboot part. I left the pre-boot partition intact, and I
> suppose that contains the pre-pre-loader and the pre-loader. However
> my uboot image was trying to do all the low-level initialisation, which
> had already been done. So maybe I could forget about spl, and simply use
> the factory preloaders to boot a uboot image which skips the low level
> stuff. What do you think?
yes, It's the best you can do atm. Some Arcadyan boards also do this.
Just look for the *_brn configs. The relevant U-Boot config option is
CONFIG_SKIP_LOWLEVEL_INIT.
--
- Daniel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list