usb preperation thread success how to please for enigma2

Bro1

Registered
Messages
278
*********************************************************
** **
*** Welcome on your - Cuberevo ***
** **
*** SifTeam Image ***
** **
*********************************************************


Monday, 23 February 2009 Time: 11:24:05

SifTeam Image for Cuberevo
cuberevo login: root
System bootup in progress - please wait
[Disconnect bypassed -- root login allowed.]
Linux 61.36.12.117 2.6.17.14_stm22_0038cuberevo #4 PREEMPT Sat May 19 01:37:49 KST 2007 sh4 unknown
-sh-3.00# ls -aln
drwxr-xr-x 19 1000 100 226 Jan 22 10:33 .
drwxr-xr-x 19 1000 100 226 Jan 22 10:33 ..
lrwxrwxrwx 1 1000 100 9 Jan 22 10:33 .ssh -> /var/.ssh
drwxr-xr-x 2 1000 100 645 Jan 22 10:33 bin
drwxr-xr-x 2 1000 100 3 Aug 13 2007 boot
drwxrwxrwt 7 0 0 3420 Feb 23 11:18 dev
drwxr-xr-x 17 1000 100 973 Jan 22 10:33 etc
lrwxrwxrwx 1 1000 100 6 Jan 22 10:33 hdd -> /media
lrwxrwxrwx 1 1000 100 9 Jan 22 10:33 home -> /var/home
drwxr-xr-x 5 1000 100 65 Jan 21 09:06 include
drwxr-xr-x 5 1000 100 1586 Jan 21 09:23 lib
drwxr-xr-x 7 1000 100 55 Oct 14 18:07 media
drwxrwxrwt 9 0 0 200 Feb 23 11:18 mnt
dr-xr-xr-x 101 0 0 0 Feb 27 1959 proc
drwxr-xr-x 2 1000 100 30 Aug 13 2007 root
drwxr-xr-x 2 1000 100 1217 Jan 22 04:42 sbin
drwxr-xr-x 10 0 0 0 Feb 27 1959 sys
drwxrwxrwt 3 0 0 320 Feb 23 11:20 tmp
drwxr-xr-x 2 1000 100 3 Aug 13 2007 udev
drwxr-xr-x 7 1000 100 68 Sep 25 10:08 usr
drwxr-xr-x 18 1000 100 0 Feb 23 11:18 var
drwxr-xr-x 12 1000 100 181 Jan 22 10:33 var_init
-sh-3.00# tar xzf enigma2.tar.gz
tar: enigma2.tar.gz: No such file or directory
-sh-3.00# tar xzf enigma2.tar
tar: enigma2.tar: No such file or directory
-sh-3.00# cd / tmp
-sh-3.00# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /tmp type tmpfs (rw)
none on /dev type tmpfs (rw)
none on /mnt type tmpfs (rw)
/dev/mtdblock4 on /var type jffs2 (rw)
none on /tmp/mqueue type mqueue (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /mnt/usb/usb0 type ext2 (rw,sync)
/dev/sda2 on /mnt/usb/usb1 type ext3 (rw,sync,data=ordered)
-sh-3.00# cd /mnt/usb/usb0
-sh-3.00# tar xzf enigma2.tar
-sh-3.00# umount /dev/sda1
umount: /mnt/usb/usb0: device is busy
umount: /mnt/usb/usb0: device is busy
-sh-3.00# umount /dev/sda2
-sh-3.00#


putty goes no further and usb stick doenst flash wile booting,light on front of reciver flashes for a while then stops and still stuck on booting
 

k2k2000

Registered
Messages
727
Bro1
you have umount: /mnt/usb/usb0: device is busy
because your current directory is on the usb stick.
Code:
-sh-3.00# tar xzf enigma2.tar
-sh-3.00# [B]cd /[/B]
-sh-3.00# umount /dev/sda1  or umount /mnt/usb/usb0
now you need to set bootargs; add multiboot to your ipbox.
so you can press 1 to boot enigma2 and 2 to boot dgs.

use putty to open a serial connection to your box, not telnet session.
you will need a serial cable.
4611949a2ae0e9218d.jpg
 

Bro1

Registered
Messages
278
ok friend i will try after ,got some jobs to do at the moment,thank you for your time :thum:
 

Bro1

Registered
Messages
278
to be honest a mate reckons my pc is not formatting the stick properly so i will format pc after and start from fresh
 

Bro1

Registered
Messages
278
right formatted pc so it was a frest install and did this but still it sticks on booting



sdb2




*********************************************************
** **
*** Welcome on your - Cuberevo ***
** **
*** SifTeam Image ***
** **
*********************************************************


Thursday, 26 February 2009 Time: 12:43:38

SifTeam Image for Cuberevo
cuberevo login: root
System bootup in progress - please wait
[Disconnect bypassed -- root login allowed.]
Linux 61.36.12.117 2.6.17.14_stm22_0038cuberevo #4 PREEMPT Sat May 19 01:37:49 KST 2007 sh4 unknown
-sh-3.00# cd / tmp
-sh-3.00# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /tmp type tmpfs (rw)
none on /dev type tmpfs (rw)
none on /mnt type tmpfs (rw)
/dev/mtdblock4 on /var type jffs2 (rw)
none on /tmp/mqueue type mqueue (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda2 on /media type ext3 (rw,data=ordered)
/dev/sdb1 on /mnt/usb/usb0 type vfat (rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
/dev/sdb2 on /mnt/usb/usb1 type ext3 (rw,sync,data=ordered)
-sh-3.00# umount /mnt/usb/usb0
-sh-3.00# mkfs.ext2 /dev/sdb1
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
125696 inodes, 251007 blocks
12550 blocks (5.00%) reserved for the super user
First data block=0
8 block groups
32768 blocks per group, 32768 fragments per group
15712 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376

Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 28 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
-sh-3.00# mount /dev/sda1 /mnt/usb/usb0
mount: /dev/sda1 is not a valid block device
-sh-3.00# mount /dev/sdb2 /mnt/usb/usb0
-sh-3.00# mount /dev/sdb2 /mnt/usb/usb0
mount: /dev/sdb2 already mounted or /mnt/usb/usb0 busy
mount: according to mtab, /dev/sdb2 is already mounted on /mnt/usb/usb0



step 15 now
i had to rename zip file as it wouldnt work in putty at first

then it unzips and i get this

usr/lib/libstdc++.so
usr/lib/libtermcap.so.2
var
var/config
var/config/mount.conf
var/config/rc.modules
var/config/link
var/config/language.conf
var/config/rc.local
var/config/newcs.conf
var/config/ledctrl
var/config/swap.conf
var/config/symlink
var/config/emu.conf
var/config/fanctrl
var/emu
var/log
var/run
var/run/portmap_mapping
var/run/inetd.pid
var/run/.clean
var/run/utmp
var/run/lircd.pid
var/lock
var/lock/subsys
var/lock/.clean
var/tmp
var/cardserver
var/etc
var/lib
var/lib/urandom
var/keys
-sh-3.00# sync
-sh-3.00#
 

k2k2000

Registered
Messages
727
Bro1
Code:
/dev/sda2 on /media type ext3 (rw,data=ordered)
/dev/sdb1 on /mnt/usb/usb0 type vfat (rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8 859-1)
/dev/sdb2 on /mnt/usb/usb1 type ext3 (rw,sync,data=ordered)

you have sata HDD mounted on /media
and usb stick with 2 partition sdb1 and sdb2

sata sda
sda1 swap
sda2 /media

usb sdb
sdb1 vfat
sdb2 /mnt/usb/usb1

is this correct ?

for correct booting e2 ,you need to have single partition on usb sticker,otherwise you get TIME OUT problem.

use fdisk to create a single partition ,format it and try again;
 

Bro1

Registered
Messages
278
i do not have hardrive mounted in ipbox but yes usb stick has two partitions

thanks for the reply
 

Bro1

Registered
Messages
278
Bro1
Code:
/dev/sda2 on /media type ext3 (rw,data=ordered)
/dev/sdb1 on /mnt/usb/usb0 type vfat (rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8 859-1)
/dev/sdb2 on /mnt/usb/usb1 type ext3 (rw,sync,data=ordered)

you have sata HDD mounted on /media
and usb stick with 2 partition sdb1 and sdb2

sata sda
sda1 swap
sda2 /media

usb sdb
sdb1 vfat
sdb2 /mnt/usb/usb1

is this correct ?

for correct booting e2 ,you need to have single partition on usb sticker,otherwise you get TIME OUT problem.

use fdisk to create a single partition ,format it and try again;
cheers for the advise i will do as you say now,format stick so it has one partition then unpack image again :thum:
 

acer2

Registered
Messages
199
OK br01 , if your stick formated correctly you will see only usb0
as k2k2000 said. Try again.

acer2
 

Bro1

Registered
Messages
278
chers guys for the help,i am gratefull bit it still stuck on booting,,here my logs


SifTeam Image for Cuberevo
cuberevo login: root
System bootup in progress - please wait
[Disconnect bypassed -- root login allowed.]
Linux 61.36.12.117 2.6.17.14_stm22_0038cuberevo #4 PREEMPT Sat May 19 01:37:49 KST 2007 sh4 unknown
-sh-3.00# cd / tmp
-sh-3.00# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /tmp type tmpfs (rw)
none on /dev type tmpfs (rw)
none on /mnt type tmpfs (rw)
/dev/mtdblock4 on /var type jffs2 (rw)
none on /tmp/mqueue type mqueue (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda2 on /media type ext3 (rw,data=ordered)
/dev/sdb2 on /mnt/usb/usb0 type ext3 (rw,sync,data=ordered)
-sh-3.00# umount /mnt/usb/usb0
-sh-3.00# mkfs.ext2 /dev/sdb2
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
125696 inodes, 251015 blocks
12550 blocks (5.00%) reserved for the super user
First data block=0
8 block groups
32768 blocks per group, 32768 fragments per group
15712 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376

Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
-sh-3.00# mount /dev/sdb2 /mnt/usb/usb0
-sh-3.00#



second bit




usr/lib/python2.6/lib2to3/main.py
usr/lib/python2.6/lib2to3/fixes
usr/lib/python2.6/lib2to3/fixes/fix_has_key.py
usr/lib/python2.6/lib2to3/fixes/fix_nonzero.py
usr/lib/python2.6/lib2to3/fixes/fix_types.py
usr/lib/python2.6/lib2to3/fixes/fix_renames.py
usr/lib/python2.6/lib2to3/fixes/fix_print.py
usr/lib/python2.6/lib2to3/fixes/fix_numliterals.py
usr/lib/python2.6/lib2to3/fixes/fix_throw.py
usr/lib/python2.6/lib2to3/fixes/fix_raw_input.py
usr/lib/python2.6/lib2to3/fixes/fix_xreadlines.py
usr/lib/python2.6/lib2to3/fixes/fix_tuple_params.py
usr/lib/python2.6/lib2to3/fixes/fix_long.py
usr/lib/python2.6/lib2to3/fixes/fix_repr.py
usr/lib/python2.6/lib2to3/fixes/fix_imports2.py
usr/lib/python2.6/lib2to3/fixes/fix_xrange.py
usr/lib/python2.6/lib2to3/fixes/__init__.py
usr/lib/python2.6/lib2to3/fixes/fix_imports.py
usr/lib/python2.6/lib2to3/fixes/fix_paren.py
usr/lib/python2.6/lib2to3/fixes/fix_itertools.py
usr/lib/python2.6/lib2to3/fixes/fix_standarderror.py
usr/lib/python2.6/lib2to3/fixes/fix_zip.py
usr/lib/python2.6/lib2to3/fixes/fix_filter.py
usr/lib/python2.6/lib2to3/fixes/fix_ne.py
usr/lib/python2.6/lib2to3/fixes/fix_metaclass.py
usr/lib/python2.6/lib2to3/fixes/fix_next.py
usr/lib/python2.6/lib2to3/fixes/fix_except.py
usr/lib/python2.6/lib2to3/fixes/fix_unicode.py
usr/lib/python2.6/lib2to3/fixes/fix_map.py
usr/lib/python2.6/lib2to3/fixes/fix_input.py
usr/lib/python2.6/lib2to3/fixes/fix_buffer.py
usr/lib/python2.6/lib2to3/fixes/fix_execfile.py
usr/lib/python2.6/lib2to3/fixes/fix_methodattrs.py
usr/lib/python2.6/lib2to3/fixes/fix_intern.py
usr/lib/python2.6/lib2to3/fixes/fix_urllib.py
usr/lib/python2.6/lib2to3/fixes/fix_ws_comma.py
usr/lib/python2.6/lib2to3/fixes/fix_exec.py
usr/lib/python2.6/lib2to3/fixes/fix_basestring.py
usr/lib/python2.6/lib2to3/fixes/fix_sys_exc.py
usr/lib/python2.6/lib2to3/fixes/fix_raise.py
usr/lib/python2.6/lib2to3/fixes/fix_import.py
usr/lib/python2.6/lib2to3/fixes/fix_apply.py
usr/lib/python2.6/lib2to3/fixes/fix_dict.py
usr/lib/python2.6/lib2to3/fixes/fix_future.py
usr/lib/python2.6/lib2to3/fixes/fix_callable.py
usr/lib/python2.6/lib2to3/fixes/fix_funcattrs.py
usr/lib/python2.6/lib2to3/fixes/fix_itertools_imports.py
usr/lib/python2.6/lib2to3/fixes/fix_idioms.py
usr/lib/python2.6/lib2to3/patcomp.py
usr/lib/python2.6/lib2to3/fixer_util.py
usr/lib/python2.6/lib2to3/pygram.py
usr/lib/python2.6/lib2to3/__init__.py
usr/lib/python2.6/lib2to3/PatternGrammar.txt
usr/lib/python2.6/lib2to3/tests
usr/lib/python2.6/lib2to3/tests/benchmark.py
usr/lib/python2.6/lib2to3/tests/support.py
usr/lib/python2.6/lib2to3/tests/test_pytree.py
usr/lib/python2.6/lib2to3/tests/test_util.py
usr/lib/python2.6/lib2to3/tests/__init__.py
usr/lib/python2.6/lib2to3/tests/pytree_idempotency.py
usr/lib/python2.6/lib2to3/tests/test_refactor.py
usr/lib/python2.6/lib2to3/tests/test_fixers.py
usr/lib/python2.6/lib2to3/tests/test_parser.py
usr/lib/python2.6/lib2to3/tests/test_all_fixers.py
usr/lib/python2.6/lib2to3/Grammar.txt
usr/lib/python2.6/lib2to3/pgen2
usr/lib/python2.6/lib2to3/pgen2/pgen.py
usr/lib/python2.6/lib2to3/pgen2/token.py
usr/lib/python2.6/lib2to3/pgen2/grammar.py
usr/lib/python2.6/lib2to3/pgen2/literals.py
usr/lib/python2.6/lib2to3/pgen2/__init__.py
usr/lib/python2.6/lib2to3/pgen2/tokenize.py
usr/lib/python2.6/lib2to3/pgen2/parse.py
usr/lib/python2.6/lib2to3/pgen2/conv.py
usr/lib/python2.6/lib2to3/pgen2/driver.py
usr/lib/python2.6/lib2to3/refactor.py
usr/lib/python2.6/lib2to3/fixer_base.py
usr/lib/python2.6/plat-linux2
usr/lib/python2.6/plat-linux2/IN.py
usr/lib/python2.6/plat-linux2/regen
usr/lib/python2.6/plat-linux2/DLFCN.py
usr/lib/python2.6/plat-linux2/TYPES.py
usr/lib/python2.6/plat-linux2/CDROM.py
usr/lib/python2.6/runpy.py
usr/lib/python2.6/nntplib.py
usr/lib/python2.6/wsgiref.egg-info
usr/lib/python2.6/audiodev.py
usr/lib/python2.6/CGIHTTPServer.py
usr/lib/python2.6/pty.py
usr/lib/python2.6/sunau.py
usr/lib/python2.6/.nfs0015893700000020
usr/lib/python2.6/abc.pyc
usr/lib/python2.6/pydoc.py
usr/lib/python2.6/UserString.py
usr/lib/python2.6/markupbase.py
usr/lib/python2.6/calendar.py
usr/lib/python2.6/bisect.pyc
usr/lib/python2.6/dis.py
usr/lib/python2.6/threading.pyc
usr/lib/python2.6/.nfs00158a600000003c
usr/lib/libungif.so.4
usr/lib/libcrypto.so.0
usr/lib/liblcms.so
usr/lib/libsigc-1.2.so.5.0.5
usr/lib/libasound.so
usr/lib/libpython2.6.so
usr/lib/libmng.so.1.0.0
usr/lib/libfbsplashrender.so.1
usr/lib/xml2Conf.sh
usr/lib/libpng12.so.0
usr/lib/libmenu.so.5
usr/lib/libcrypt.so
usr/lib/libexslt.so.0
usr/lib/libssl.so.0.9.8
usr/lib/libxml2.so
usr/lib/libungif.so.4.1.3
usr/lib/libform.so.5.5
usr/lib/libxml2.so.2
usr/lib/libid3tag.so.0
usr/lib/libpng.so
usr/lib/liblcms.so.1.0.16
usr/lib/libmad.so.0.2.1
usr/lib/libsigc-1.2.so
usr/lib/libdvdnav.so.4.0.0
usr/lib/libpython2.6.so.1.0
usr/lib/libnss_nisplus.so
usr/lib/libxslt.so.1
usr/lib/libpanel.so
usr/lib/libcom_err.so
usr/lib/libfbsplashrender.so
usr/lib/libdvdcss.so
usr/lib/libalsaplayer.so.0
usr/lib/libfbsplash.so.1.0.0
usr/lib/libBrokenLocale.so
usr/lib/libmenu.so
usr/lib/libexpat.so.1.5.2
usr/lib/libdl.so
usr/lib/libc.so
usr/lib/libfreetype.so.6.3.16
usr/lib/libid3tag.so.0.3.0
usr/lib/libfontconfig.so.1.3.0
usr/lib/libfribidi.so
usr/lib/libnsl.so
usr/lib/libuuid.so
usr/lib/libtermcap.so
usr/lib/libdvdcss.so.2
usr/lib/liblirc_client.so.0
usr/lib/libresolv.so
usr/lib/libalsaplayer.so.0.0.2
usr/lib/libext2fs.so
usr/lib/libform.so
usr/lib/libncurses.so
usr/lib/libcrypto.so.0.9.8
usr/lib/libungif.so
usr/lib/libhistory.so.5
usr/lib/libfontconfig.so
usr/lib/libutil.so
usr/lib/libjpeg.so.62
usr/lib/libpanel.so.5.5
usr/lib/libmng.so
usr/lib/liblirc_client.so.0.2.0
usr/lib/libdvdnav.so
usr/lib/libdvbsi++.so.0.0.0
usr/lib/libnss_compat.so
usr/lib/libexpat.so
usr/lib/libnss_hesiod.so
usr/lib/libhistory.so
usr/lib/libreadline.so.5
usr/lib/xsltConf.sh
usr/lib/librt.so
usr/lib/libpng.so.3.16.0
usr/lib/libxslt.so
usr/lib/libz.so.1
usr/lib/libexpat.so.1
usr/lib/libnss_nis.so
usr/lib/libdvdnav.so.4
usr/lib/liblcms.so.1
usr/lib/libncurses.so.5
usr/lib/libfbsplash.so
usr/lib/libhistory.so.5.2
usr/lib/liblirc_client.so
usr/lib/libdvbsi++.so.0
usr/lib/libxmlccwrap.so
usr/lib/libnss_files.so
usr/lib/libreadline.so
usr/lib/libz.so.1.2.3
usr/lib/libxslt.so.1.1.24
usr/lib/libpng12.so.0.16.0
usr/lib/libxml2.so.2.6.30
usr/lib/libe2p.so
usr/lib/libmng.so.1
usr/lib/libstdc++.so
usr/lib/libtermcap.so.2
var
var/config
var/config/mount.conf
var/config/rc.modules
var/config/link
var/config/language.conf
var/config/rc.local
var/config/newcs.conf
var/config/ledctrl
var/config/swap.conf
var/config/symlink
var/config/emu.conf
var/config/fanctrl
var/emu
var/log
var/run
var/run/portmap_mapping
var/run/inetd.pid
var/run/.clean
var/run/utmp
var/run/lircd.pid
var/lock
var/lock/subsys
var/lock/.clean
var/tmp
var/cardserver
var/etc
var/lib
var/lib/urandom
var/keys
-sh-3.00#
-sh-3.00# sync
-sh-3.00#


here are my bootargs

setenv menu_1 'setenv ipaddr 192.168.5.107;setenv serverip 192.168.5.105;setenv gateway 192.168.5.254;setenv netmask 255.255.255.0;setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 panic=3 root=/dev/sdb1 rw rootdelay=10 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";setenv bootcmd "run bootusb";saveenv;boot'

and press enter then type or copy paste:

setenv menu_2 'setenv ipaddr 192.168.5.107;setenv serverip 192.168.5.105;setenv gateway 192.168.5.254;setenv netmask 255.255.255.0;setenv bootargs "console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 bigphysarea=1500 ip=$ipaddr:$serverip:$gateway:$netmask quiet";setenv bootcmd "bootm a0060000";saveenv;boot'

and press enter. Now type:

saveenv

and press enter to save your configuration.

does that look right to you two
 
Last edited:

arken

Registered
Messages
293
This thread is starting to be a big mess, but let me try to help too:

Lets assume that you already have set bootargs in standard way, and you usb stick device is dev/sdb (you have hdd at /dev/sda node). Here what you should do to prepare the stick and install E2:
1. Boot your DGS image, wait to full boot.
2. Insert your USB stick
3. Telnet to your box, execute mount
4. In the list check - if the /dev/sdb1 is mounted (if is FAT probably is mounted to /mnt/usb/usb0)
5. umount it - umount /mnt/usb/usb0
6. now execute fdisk /dev/sdb (not sdb1)
7. on the prompt press p - to see current partition table
8. press d - to delete partitions, if it is only one proceed, if not - press d again and delete all partitons
9. press p again - there will be no partitons now
10. Press n - to create new partition
11. select p - primary
12. select 1
13. press enter, enter
14. press w to write changes & exit
15. You have just created linux partition on your usb stick
16. Now format this partition - mkfs.ext3 /dev/sdb1
17. mount formatted partition again - mount -t ext3 /dev/sdb1 /mnt/usb/usb0
18. Now ftp e2 tar.gz to /mnt/usb/usb0
19. execute cd /mnt/usb/usb0
20. execute tar -zxvf e2image.tar.gz, wait few minutes to decompress all. (wait for prompt)

Reboot your box, and press and hold 3 for 4-5 seconds to boot E2.
If you succeed, you may want to partition usb stick again, creating on more partition (linux swap type 82), and enable swap on E2. Good luck .
 
Last edited:

k2k2000

Registered
Messages
727
yes ,your boot environment is correct, if you have sata HDD on sda1;

if you have just usb sticker
you need to correct you boot arg
from
console=ttyAS1,115200 panic=3 root=/dev/sdb1
to
console=ttyAS1,115200 panic=3 root=/dev/sda1

****************
does it run original image from flash,when you press 2 ?

can you post serial log ,when you press 1

example:
Code:
U-Boot 1.3.1 (Aug 25 2008 - 16:01:48) - stm23-2008-03-19
Board: cuberevo (0x2D42C041)
Board: 13 grid vfd front
DRAM: 128 MB
Flash: 32 MB
In: serial
Out: serial
Err: serial
Reserve 0x2010000 bytes from 0xa5ff0000 for DGS upgrade buffer.
Setup mac address.
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
.
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
## Booting image at a5ff0000 ...
Bad Magic Number
 

Bro1

Registered
Messages
278
this is what i used but only have a usb stick,,,i dont have a hardrive




setenv menu_1 'setenv ipaddr 192.168.1.5;setenv serverip 192.168.1.6;setenv gateway 192.168.1.1;setenv netmask 255.255.255.0;setenv bootargs "console=ttyAS1,115200 panic=3 bigphysarea=10240 root=/dev/nfs nfsroot=/root/Desktop/root rw rootpath=/root/Desktop/root ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 init=/bin/devinit";setenv bootcmd "nfs a5ff0000 192.168.1.6:/root/Desktop/root/boot/uImage;bootm a5ff0000";saveenv;boot'

setenv menu_2 'setenv ipaddr 192.168.1.5;setenv serverip 192.168.1.6;setenv gateway 192.168.1.1;setenv netmask 255.255.255.0;setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 panic=3 bigphysarea=10240 root=/dev/sda1 rw rootdelay=10 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";seten v bootcmd "run bootusb";saveenv;boot'

setenv menu_3 'setenv ipaddr 192.168.1.5;setenv serverip 192.168.1.6;setenv gateway 192.168.1.1;setenv netmask 255.255.255.0;setenv bootusb "run bootargsusb;usb reset;ext2load usb 0:1 a5ff0000 boot/uImage;bootm a5ff0000";setenv bootargsusb "setenv bootargs console=ttyAS1,115200 panic=3 bigphysarea=10240 root=/dev/sdb1 rw rootdelay=10 init=/bin/devinit ip=$ipaddr:$serverip:$gateway:$netmask mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000";seten v bootcmd "run bootusb";saveenv;boot'

setenv menu_4 'setenv ipaddr 192.168.1.5;setenv serverip 192.168.1.6;setenv gateway 192.168.1.1;setenv netmask 255.255.255.0;setenv bootargs "console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 bigphysarea=1500 ip=$ipaddr:$serverip:$gateway:$netmask quiet";setenv bootcmd "bootm a0060000";saveenv;boot'

saveenv

i pressed two and nothing but i know it worked as i borrowed a stick of what a friend sent me and it worked ok but now need to do my own thnks

@arken i try that and get this

ST 2007 sh4 unknown
-sh-3.00# cd / tmp
-sh-3.00# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /tmp type tmpfs (rw)
none on /dev type tmpfs (rw)
none on /mnt type tmpfs (rw)
/dev/mtdblock4 on /var type jffs2 (rw)
none on /tmp/mqueue type mqueue (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda2 on /mnt/usb/usb0 type ext2 (rw,sync)


how do i get serial log when i boot

thanks friends
 

Bro1

Registered
Messages
278
U-Boot 1.3.1 (Oct 24 2008 - 18:09:07) - stm23-2008-03-19
Board: cuberevo (0x2D42C041)
Board: 13 grid vfd front
DRAM: 128 MB
Flash: 32 MB
In: serial
Out: serial
Err: serial
Reserve 0x2010000 bytes from 0xa5ff0000 for DGS upgrade buffer.
Setup mac address.
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
.
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
## Booting image at a0060000 ...
Image Name: Linux 2.6
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 1703620 Bytes = 1.6 MB
Load Address: 84401000
Entry Point: 84402000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

Warning: Unable to determine if kernel is built for 29- or 32-bit mode!

Starting kernel console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 bigphysarea=1500 ip=192.168.2.5:192.168.2.2:192.168.2.1:255.255.255.0 quiet - 0x00000000 - 0 ...

INIT: version 2.86 booting
sda: assuming drive cache: write through
sda: assuming drive cache: write through
Activating swap.
mount: you must specify the filesystem type
rm: unable to remove `/etc/nologin': Read-only file system
Checking all file systems...
fsck 1.39 (29-May-2006)
Hostname: 192.168.2.5.
INIT: Entering runlevel: 3
Mounting sysfs on /sys....
sbox init script $Rev: 4454 $
mktime failed.
FRONT_IOCTL setsystime failed. retry.


sussed how to do it mate
 

k2k2000

Registered
Messages
727
Starting kernel console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 bigphysarea=1500 ip=192.168.2.5:192.168.2.2:192.168.2.1:255.255.255.0 quiet - 0x00000000 - 0 .
you are booting from flash .,
can you post log when you try to boot from /dev/sda1
press 2


**************************************
Starting kernel console=ttyAS1,115200 panic=3 root=/dev/mtdblock3 bigphysarea=1500 ip=192.168.2.5:192.168.2.2:192.168.2.1:255.255.255.0 quiet - 0x00000000 - 0 ...

INIT: version 2.86 booting
sda: assuming drive cache: write through
sda: assuming drive cache: write through
Activating swap.
you have another problem here
when you boot from flash ,and have usb inserted in the back of ipbox.
it will be partitioned with 2 partition; again
/dev/sda2 on /mnt/usb/usb0 type ext2 (rw,sync)
you have again
sda1 swap
sda2 ext2
 

Bro1

Registered
Messages
278
sorry mate i chnged bootargs to try but chnged them back and got this







U-Boot 1.3.1 (Oct 24 2008 - 18:09:07) - stm23-2008-03-19
Board: cuberevo (0x2D42C041)
Board: 13 grid vfd front
DRAM: 128 MB
Flash: 32 MB
In: serial
Out: serial
Err: serial
Reserve 0x2010000 bytes from 0xa5ff0000 for DGS upgrade buffer.
Setup mac address.
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
.
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
## Booting image at a5ff0000 ...
Bad Magic Number
cuberevo> à




i wll redo usb stick again the repost this log
 
Last edited:

Bro1

Registered
Messages
278
got this after i redone stick





U-Boot 1.3.1 (Oct 24 2008 - 18:09:07) - stm23-2008-03-19
Board: cuberevo (0x2D42C041)
Board: 13 grid vfd front
DRAM: 128 MB
Flash: 32 MB
In: serial
Out: serial
Err: serial
Reserve 0x2010000 bytes from 0xa5ff0000 for DGS upgrade buffer.
Setup mac address.
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
.
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
(Re)start USB...
USB: scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
## Booting image at a5ff0000 ...
Bad Magic Number
cuberevo>
 

k2k2000

Registered
Messages
727
Failed to mount ext2 filesystem...
** Bad ext2 partition or disk - usb 0:1 **
## Booting image at a5ff0000 ...
Bad Magic Number
this can be
usb incorrectly partitioned formatted.
or
incorrectly unmounted.
you should always use the command unmount ,before your unplug usb stick

*************************
verify that you have one partition on usb stick.
run image from flash press 2
when you get picture ,plug the usb stick.
run from telnet :
fdisk -l
and post here output.
 

Bro1

Registered
Messages
278
i thought you had gone lol so i formatted and tried again and did same way and now usb0 folder isnt there,,,arrgghhhhh but done that what you said incase it says anything



SifTeam Image for Cuberevo
cuberevo login: root
System bootup in progress - please wait
[Disconnect bypassed -- root login allowed.]
Linux 61.36.12.117 2.6.17.14_stm22_0038cuberevo #4 PREEMPT Sat May 19 01:37:49 KST 2007 sh4 unknown
-sh-3.00# fdisk -l

Disk /dev/sdb: 2000 MB, 2000682496 bytes
255 heads, 63 sectors/track, 243 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 125 1004031 83 Linux
/dev/sdb2 126 243 947835 83 Linux
-sh-3.00# Disk /dev/sdb: 2000 MB, 2000682496 bytes

leave it for now mate and i need one post to follow to the letter,i must be doing something wrong and not sure what,you are all so helpfull
 
Last edited:
Top