[LEDE-DEV] Bad NAND my sysupgrade / help

2018-01-31 Thread Denis Periša
Hi all, I got this once before but sent it on RMA. anyhow, I did some flashing from jffs2 to ubifs and initramfs kernel image loaded up fine, but on sysupgrade it marked all my kernel filesystem as bad nand.. 0 space left. I know for sure this is just fake mark as I copied kernel just before in i

[LEDE-DEV] Predict sysupgrade file name

2018-01-31 Thread Yury Shvedov
Hi all, I have a task to universal automatically predict sysupgrade (or factory) file name on the board, with already installed openwrt. The filename format is clear inside buildroot, but I can't find the way to learn CONFIG_TARGET_BOARD and CONFIG_TARGET_SUBTARGET variables values inside run

Re: [LEDE-DEV] Predict sysupgrade file name

2018-01-31 Thread John Crispin
On 31/01/18 16:00, Yury Shvedov wrote: Hi all, I have a task to universal automatically predict sysupgrade (or factory) file name on the board, with already installed openwrt. The filename format is clear inside buildroot, but I can't find the way to learn CONFIG_TARGET_BOARD and CONFIG_TAR

Re: [LEDE-DEV] Predict sysupgrade file name

2018-01-31 Thread Yury Shvedov
Ok, sorry. Finally find simple system.board method: ubus call system board On 01/31/2018 06:00 PM, Yury Shvedov wrote: Hi all, I have a task to universal automatically predict sysupgrade (or factory) file name on the board, with already installed openwrt. The filename format is clear insid

Re: [LEDE-DEV] Predict sysupgrade file name

2018-01-31 Thread Yury Shvedov
Thank you! On 01/31/2018 06:10 PM, John Crispin wrote: On 31/01/18 16:00, Yury Shvedov wrote: Hi all, I have a task to universal automatically predict sysupgrade (or factory) file name on the board, with already installed openwrt. The filename format is clear inside buildroot, but I can't

Re: [LEDE-DEV] Bad NAND my sysupgrade / help

2018-01-31 Thread Alberto Bursi
On 01/31/2018 01:56 PM, Denis Periša wrote: Hi all, I got this once before but sent it on RMA. anyhow, I did some flashing from jffs2 to ubifs and initramfs kernel image loaded up fine, but on sysupgrade it marked all my kernel filesystem as bad nand.. 0 space left. I know for sure this is ju

Re: [LEDE-DEV] Bad NAND my sysupgrade / help

2018-01-31 Thread Denis Periša
Hi, Thanx for input ;) it's routerboard 433AH and 435G (rb433AH/435G) I've found out like `nand scrub` .. haven't tried it yet as I don't have nand tools compiled but will. But also I'm afraid it's not it. It is bug.. I had few new RB435G ordered for citiy wireless and they went from 0 to 100% bad