[LEDE-DEV] rb532 / install to NAND

Denis Periša darkman.hr at gmail.com
Thu Apr 20 06:20:48 PDT 2017


hm, works for me:

root at XFX:/OPENWRT/2017/LEDE/rb532/bin/targets/rb532# cd generic/
root at XFX:/OPENWRT/2017/LEDE/rb532/bin/targets/rb532/generic# ls -Alh
total 41M
-rw-r--r-- 1 darkman users 5.4K Apr  1 13:20 config.seed
-rw-r--r-- 1 darkman users  11M Apr  1 13:20 lede-rb532-combined-squashfs.bin
-rw-r--r-- 1 darkman users    0 Apr  1 13:20 lede-rb532-default.manifest
-rw-r--r-- 1 darkman users 6.6M Apr  1 13:20
lede-rb532-nand-initramfs-kernel.bin
-rw-r--r-- 1 darkman users 7.1M Apr  1 13:20
lede-rb532-nand-squashfs-sysupgrade.bin
-rwxr-xr-x 1 darkman users 4.2M Apr  1 13:20 lede-rb532-squashfs.kernel*
-rwxr-xr-x 1 darkman users 6.6M Apr  1 13:20 lede-rb532-vmlinux-initramfs*
-rwxr-xr-x 1 darkman users 6.6M Apr  1 13:20 lede-rb532-vmlinux-kernel*
drwxr-xr-x 2 darkman users 4.0K Apr  1 13:18 packages/
-rw-r--r-- 1 darkman users  760 Apr  1 13:20 sha256sums



bash-4.4# ssh nod2
Warning: Permanently added 'nod2,192.168.70.2' (RSA) to the list of known hosts.
     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
 /________/  LE  \  |____|___|___/|___|                      lede-project.org
 \        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (SNAPSHOT, r3662-2543e986ad)
    \________\/    -----------------------------------------------------------

root at nod2:~# cat /proc/cpuinfo
system type        : Mikrotik RB532
machine            : Unknown
processor        : 0
cpu model        : MIPS 4Kc V0.10
BogoMIPS        : 328.70
wait instruction    : yes
microsecond timers    : yes
tlb_entries        : 16
extra interrupt vector    : yes
hardware watchpoint    : yes, count: 1, address/irw mask: [0x0fff]
isa            : mips1 mips2 mips32r1
ASEs implemented    :
shadow register sets    : 1
kscratch registers    : 0
package            : 0
core            : 0
VCED exceptions        : not available
VCEI exceptions        : not available

root at nod2:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 5632      5632         0 100% /rom
tmpfs                    13556       124     13432   1% /tmp
/dev/ubi0_2             102036      2524     94676   3% /overlay
overlayfs:/overlay      102036      2524     94676   3% /
tmpfs                      512         0       512   0% /dev

On Thu, Apr 20, 2017 at 11:15 AM, Bastian Bittorf <bb at npl.de> wrote:
> i'am having problems getting NAND to work.
> i can boot r3979 from compact flash without problems and do:
>
> # sysupgrade -n lede-rb532-nand-squashfs-sysupgrade.bin
> (and hope it writes to nand, so i can remove the CF-card)
>
> it looks good so far:
> root at LEDE:~# sysupgrade -n /tmp/lede-rb532-nand-squashfs-sysupgrade.bin
> UBI device number 0, total 960 LEBs (123863040 bytes, 118.1 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
> ssh: Connection to root at fe80::20c:42ff:fe0a:f4bb%eth0.2:22 exited: Remote closed the connection
>
>
> but according to the leds it reboots every second.
> what is a known way to migrate to NAND?
>
> bye, bastian
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev



More information about the Lede-dev mailing list