Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1611 - Missing files for ZyXEL P2812-HNU-FX #8513

Closed
openwrt-bot opened this issue Jun 25, 2018 · 5 comments
Closed

FS#1611 - Missing files for ZyXEL P2812-HNU-FX #8513

openwrt-bot opened this issue Jun 25, 2018 · 5 comments
Labels

Comments

@openwrt-bot
Copy link

Mijzelf:

The 'Supplementary Files' section of lantiq/xrx200 contains only a u-boot-p2812hnufx_ram.

To install OpenWRT on an OEM box a u-boot-nand, uImage and initramfs are needed according to the install instructions.

https://openwrt.org/toh/zyxel/p2812hnu-f1

@openwrt-bot
Copy link
Author

Mafketel:

I can confirm those files are missing.

In the snapshots there are some more files but not enough to make it working.
Currently one needs to find a trunk release of r45578 or before to find working files.

openwrt-lantiq-p2812hnufx_nandtpl-u-boot.img
openwrt-lantiq-xrx200-P2812HNUF1-uImage
openwrt-lantiq-xrx200-P2812HNUF1-uImage-initramfs

@openwrt-bot
Copy link
Author

Mafketel:

in the git repository
U-boot is still using a 2013.10 version while we are in 2019 ;)

https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/boot/uboot-lantiq/Makefile;h=55038fdf657fd746b9c66bf4bd501e6510bb6f74;hb=66a4978b4355e3e8f860a87ca14c0f293931d038

define U-Boot/p2812hnufx_ram
283 NAME:=ZyXEL P-2812HNU-Fx (RAM)
284 BUILD_SUBTARGET:=xrx200
285 BUILD_DEVICES:=zyxel_p-2812hnu-f1
286 DDR_SETTINGS:=board/zyxel/p2812hnufx/ddr_settings.h
287 endef
288
289 define U-Boot/p2812hnufx_nandspl
290 NAME:=ZyXEL P-2812HNU-Fx (NAND SPL)
291 BUILD_SUBTARGET:=xrx200
292 BUILD_DEVICES:=zyxel_p-2812hnu-f1
293 UBOOT_IMAGE:=u-boot.ltq.lzo.nandspl
294 DEPENDS+=@broken
295 endef

nandspl might not be working anyway since I am using nandtpl version (tpl is adding an extra boot stage on the spl boot staging)

from a commit
uboot-lantiq: mark SPL variants as broken

All SPL variants are lzo compressed. The lzop binary is used for
compression but is not available in tools.

Additionally at least the NAND SPL support is broken and doesn't create
working bootloaders.

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=b52932e773914ee22e848e619d11b4aaf9845feb

@openwrt-bot
Copy link
Author

Mafketel:

Ok I compiled yesterdays snapshot, removing the " DEPENDS+=@broken" compiles the nand-spl file.

The lzop package was indeed requested and I installed it on my build system(Ubuntu 16.04 LTS) no problem there

However ....

if you turn it back on it does compile without errors but the modem will not boot with it.
there is no error just :

ROM VER: 1.0.5
CFG 06
NAND
NAND Read OK

nothing happens afterwards.
Last known working U-boot on NAND is OLD .. from scapi r47026

The asc file created in the same compile session works without any problem, so it is not the u-boot compilation that is wrong but something about packing the file for the nand.

log of serial is added.

p.s. I was able to generate an initrmfs file, by turning the option on in menuconfig. But it not working yet need to look into that a little bit more later.

@openwrt-bot
Copy link
Author

klausenbusk:

Mafketel did you find a working solution?

@openwrt-bot
Copy link
Author

Mafketel:

If you want to know how to install openwrt on the modem go to the modem page on openwrt I spend some time explaining how to do it.
https://openwrt.org/toh/zyxel/p2812hnu-f1
https://forum.openwrt.org/t/zyxel-p-2812-current-state-and-updating-wiki/31393

If you want to know if the current openwrt builds are fixed I'd say no, no working solution yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant