I did WarheadSE's :
$this->bbcode_second_pass_code('', 'pacman -Syf udev-oxnas (say yes to replacing udev)
reboot
pacman -Syy
pacman -Syu
reboot')
and Tim's :
$this->bbcode_second_pass_code('', 'flash_erase /dev/mtd0 0 4
nandwrite /dev/mtd0 uboot-mtd0-dump')
after successful boot into Alarm OS.
I disconnected the sata drive but after next reboot, the device hangs up during kernel loading. Also after changing to:
$this->bbcode_second_pass_code('', 'setenv bootcmd "run boot_nand"
saveenv
reset')
Then I used the code: (from
http://archlinuxarm.org/forum/viewtopic.php?f=29&t=1203)
$this->bbcode_second_pass_code('', 'setenv bootcmd "run boot_nand"
setenv bootargs "root=ubi0:rootfs ubi.mtd=2,512 rootfstype=ubifs console=ttyS0,115200 elevator=cfq mac_adr=0x00,0x25,0x31,0x00,0xd4,0x6f mem=128 poweroutage=yes"')
and now I suppose it boots successfully into the stock busybox:
$this->bbcode_second_pass_code('', '/ # busybox
BusyBox v1.16.1 (2010-12-01 15:27:23 PST) multi-call binary.
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.
Usage: busybox [function] [arguments]...
or: function [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
[, [[, arp, ash, awk, basename, brctl, bunzip2, bzcat, bzip2, cat,
chattr, chgrp, chmod, chown, chroot, clear, cmp, cp, crond, cut, date,
dd, depmod, df, diff, dirname, dmesg, dnsdomainname, du, echo, egrep,
eject, env, expr, false, fdflush, fdisk, fgrep, fsck, fuser, getty,
grep, gunzip, gzip, halt, head, hexdump, hostname, hush, ifconfig,
ifdown, ifplugd, ifup, init, insmod, ionice, ip, ipaddr, iplink,
iproute, iprule, iptunnel, kill, killall, less, ln, login, losetup, ls,
lsattr, lsmod, lspci, lsusb, lzop, lzopcat, md5sum, mkdir, mkdosfs,
mke2fs, mkfifo, mkfs.ext2, mkfs.vfat, mknod, modprobe, more, mount, mv,
nc, netstat, nice, nmeter, nohup, nslookup, od, passwd, pidof, ping,
ping6, pivot_root, poweroff, printf, ps, pwd, rdev, readlink, realpath,
reboot, renice, reset, rm, rmdir, rmmod, route, sed, seq, sh, sha1sum,
sleep, sort, split, stat, strings, stty, su, sulogin, sum, swapoff,
swapon, sync, sysctl, tail, tar, taskset, tee, telnet, telnetd, test,
time, top, touch, tr, traceroute, traceroute6, true, tty, tune2fs,
udhcpc, umount, uname, uniq, unlzop, uptime, usleep, vi, wc, wget,
which, who, whoami, xargs, yes, zcat, zcip
/ # ps
PID USER VSZ STAT COMMAND
1 root 2220 S init
2 root 0 SW< [kthreadd]
3 root 0 SW< [migration/0]
4 root 0 SW< [ksoftirqd/0]
5 root 0 SW< [migration/1]
6 root 0 SW< [ksoftirqd/1]
7 root 0 SW< [events/0]
8 root 0 SW< [events/1]
9 root 0 SW< [khelper]
12 root 0 SW< [async/mgr]
79 root 0 SW< [kblockd/0]
80 root 0 SW< [kblockd/1]
85 root 0 SW< [ata/0]
86 root 0 SW< [ata/1]
87 root 0 SW< [ata_aux]
108 root 0 SW [pdflush]
109 root 0 SW [pdflush]
110 root 0 SW< [kswapd0]
111 root 0 SW< [aio/0]
112 root 0 SW< [aio/1]
113 root 0 SW< [nfsiod]
115 root 0 SW< [crypto/0]
116 root 0 SW< [crypto/1]
250 root 0 SW< [scsi_eh_0]
253 root 0 SW< [scsi_eh_1]
257 root 0 SW< [ox820direct_eh]
260 root 0 SW< [mtdblockd]
275 root 0 SW< [ubi_bgt0d]
277 root 0 SW< [rpciod/0]
278 root 0 SW< [rpciod/1]
283 root 0 SW< [ubifs_bgt0_0]
406 root 2220 S udhcpc -b -i eth0 -H Pogoplug
413 root 0 SW< [khubd]
440 root 1876 S /usr/local/cloudengines/bin/hbwd /usr/local/cloudeng
441 root 2224 R -/bin/sh
442 root 8508 S /usr/local/cloudengines/bin/hbplug
480 root 2244 S /usr/sbin/dropbear -P /var/dropbear.pid
506 root 2224 R ps
/ #
')