[announce] optware/syno-e500 xsh from nslu2-linux

All discussions/development regarding the Freescale MPC8543 Chip can be placed here.

Moderators: Synology Inc, Honorary Moderator

Forum rules
Please note the disclaimer before modifying your Synology Product.

[announce] optware/syno-e500 xsh from nslu2-linux

Postby bzhou » Tue Jul 08, 2008 7:44 am

http://ipkg.nslu2-linux.org/feeds/optwa ... owerpc.xsh

is available for beta testing. This is a feed for the Freescale MPC8543 (powerpc e500v2) devices (DS-408, DS-508, etc).

To install, simply download the xsh file, telnet or ssh in, then

Code: Select all
sh ./syno-e500-bootstrap_1.2-3_powerpc.xsh


Cheers,

-Brian
bzhou at nslu2 dash linux dot org
bzhou
Knowledgeable
Knowledgeable
 
Posts: 345
Joined: Sat Jan 12, 2008 1:57 am

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby DS508_customer » Tue Jul 08, 2008 10:12 pm

bzhou wrote:... syno-e500-bootstrap_1.2-3_powerpc.xsh ... is available for beta testing ... for the Freescale MPC8543 (powerpc e500v2) devices (DS-408, DS-508, etc) ...

@bzhou: Please, could you explain how this stuff is related to this topic, called DS508/RS-408 Bootstrap released.? I am a newbie with modding. :oops: So sorry, if it is unrelated. This wiki on bootstrapping states that a bootstrap is a script that installs 'ipkg'. Why are there different versions of such scripts for the same type of CPU and in what way do such scripts differ in quality?

  • Model: DS1010+
  • Firmware: DSM2.3-1161
  • Volume 1: RAID 1 with 2 * Seagate ST31000333AS
  • Volume 2: RAID 5 with 3 * Western Digital WDC WD1000FYPS-0
  • Network: '1000, Full duplex, mtu 1500 with Dynamic Link Aggregation'
  • Services and packages enabled: as few as possible and at least 'Windows file service'
  • Hibernation Time: 15 minutes
  • External Devices: APC Back-UPS RS 1500VA LCD 230V via USB
C. A. R. Hoare wrote:The price of reliability is the pursuit of the utmost simplicity.

User avatar
DS508_customer
Enlightened
Enlightened
 
Posts: 436
Joined: Sun May 04, 2008 2:47 am

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby bzhou » Tue Jul 08, 2008 11:46 pm

Maarten released an ipkg bootstrap before nslu2-linux.org's official feed and bootstrap.xsh is available, I guess so people with ds408/508 can start using ipkg.

His bootstrap xsh by default points to his ipkg repo, with the exception of one or two packages, packages in his repo are a subset of nslu2-linux feed.
Most people will mainly be using nslu2-linux repo when available.

Now that the official optware/syno-e500 feed is open, you should just use the optware-bootstrap.xsh from nslu2-linux.org.

The source of all optware packaging recipes including the one for optware-bootstrap.xsh are available for review at http://trac.nslu2-linux.org/optware/browser/trunk, specifically http://trac.nslu2-linux.org/optware/browser/trunk/make/optware-bootstrap.mk and http://trac.nslu2-linux.org/optware/browser/trunk/sources/optware-bootstrap/syno-e500. Personally I would never run a self-extracting script without the ability to understand what it is doing.

People have similar question/reaction to the ds107+/ds207+ feed, see the thread at viewtopic.php?f=40&t=9031
bzhou
Knowledgeable
Knowledgeable
 
Posts: 345
Joined: Sat Jan 12, 2008 1:57 am

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby bzhou » Wed Jul 09, 2008 12:02 am

New addition to the optware feed are native toolchain ipk's: gcc-3.4.6, binutils 2.17, and libc-dev 2.3.4.

Current ipk count for this feed at 1073.
bzhou
Knowledgeable
Knowledgeable
 
Posts: 345
Joined: Sat Jan 12, 2008 1:57 am

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby uwekronberg » Wed Jul 16, 2008 11:48 am

Hi,

while installing syno-e500-bootstrap_1.2-3_powerpc.xsh i've got the following error message:

Optware Bootstrap for syno-e500.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1155+1 records in
1155+1 records out
Creating temporary ipkg repository...
Installing optware-bootstrap package...
Unpacking optware-bootstrap.ipk...Done.
Configuring optware-bootstrap.ipk...mount: Mounting /volume1/opt on /opt failed: No such file or directory
mkdir: Cannot create directory `/opt/etc': No such file or directory
chmod: /opt/etc: No such file or directory
mkdir: Cannot create directory `/opt/var/': No such file or directory
chmod: /opt/var: No such file or directory
mkdir: Cannot create directory `/opt/tmp': No such file or directory
chmod: /opt/tmp: No such file or directory
mkdir: Cannot create directory `/opt/lib': No such file or directory
chmod: /opt/lib: No such file or directory
//tmp/ipkg/info/optware-bootstrap.ipk.preinst failed. Aborting installation of optware-bootstrap.ipk
Installing ipkg...
Unpacking ipkg-opt.ipk...Done.
Configuring ipkg-opt.ipk...tar: Cannot create directory `./opt/bin': No such file or directory
tar: Cannot create directory `./opt/bin': No such file or directory
tar: ./opt/bin/ipkg: No such file or directory
Done.
Removing temporary ipkg repository...
Installing wget...
bootstrap.sh: bootstrap.sh: 45: /opt/bin/ipkg: not found


Any ideas how to fix this ?

Thanks for help
uwekronberg
I'm New!
I'm New!
 
Posts: 6
Joined: Tue Jul 15, 2008 8:16 am

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby bzhou » Wed Jul 16, 2008 3:33 pm

Is your disk named something other than /volume1?
bzhou
Knowledgeable
Knowledgeable
 
Posts: 345
Joined: Sat Jan 12, 2008 1:57 am

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby uwekronberg » Thu Jul 17, 2008 9:35 am

No, the disk is named volume1.

The director /volume1/opt exists. Maybe the script is missing some access rights.
uwekronberg
I'm New!
I'm New!
 
Posts: 6
Joined: Tue Jul 15, 2008 8:16 am

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby prudential » Thu Jul 24, 2008 8:10 pm

You can download the latest version here:
http://ipkg.nslu2-linux.org/feeds/optwa ... owerpc.xsh

I've successfully installed it in my DS408 ( Using the same CPU as DS508 )


1156+1 records in
1156+1 records out
Creating temporary ipkg repository...
Installing optware-bootstrap package...
Unpacking optware-bootstrap.ipk...Done.
Configuring optware-bootstrap.ipk...Setting up ipkg arch-file
Modifying /etc/rc.local
Done.
Installing ipkg...
Unpacking ipkg-opt.ipk...Done.
Configuring ipkg-opt.ipk...Done.
Removing temporary ipkg repository...
Installing wget...
Installing wget (1.11.4-1) to root...
Configuring wget
Successfully terminated.
Creating /opt/etc/ipkg/cross-feed.conf...
Setup complete.
prudential
I'm New!
I'm New!
 
Posts: 2
Joined: Thu Jul 24, 2008 8:00 pm

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby Fritze » Fri Jul 25, 2008 10:27 pm

Same problem as uwekronberg....dang...any help on this?
Synology DS-508 - 2 x Seagate 750GB ST3750640AS Raid1 - 2 x Seagate 750GB ST3750330AS RAID1 - 1 x Maxtor 120GB 6Y120M0 BASIC
Fritze
Beginner
Beginner
 
Posts: 20
Joined: Mon Jul 21, 2008 9:13 am

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby bzhou » Sat Jul 26, 2008 6:29 am

The first error message was "mount: Mounting /volume1/opt on /opt failed: No such file or directory"

This is the corresponding fragment that got executed (http://trac.nslu2-linux.org/optware/bro ... ap/preinst):
Code: Select all
[ -e /opt ] || mkdir /opt
chmod 755 /opt
REAL_OPT_DIR=/volume1/opt
if test -n "${REAL_OPT_DIR}"; then
    [ -e ${REAL_OPT_DIR} ] || mkdir -p ${REAL_OPT_DIR}
    chmod 755 ${REAL_OPT_DIR}
    if ! grep ' /opt ' /proc/mounts >/dev/null 2>&1 ; then
        mount -o bind ${REAL_OPT_DIR} /opt
    fi
fi

So, to find out why it failed, you want to manually execute "mount -o bind /volume1/opt /opt".
The above code assumes /bin/mount supports bind mount. Can you also provide the output of "/bin/mount --help" please.
bzhou
Knowledgeable
Knowledgeable
 
Posts: 345
Joined: Sat Jan 12, 2008 1:57 am

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby Fritze » Sat Jul 26, 2008 8:08 am

It says so right in his error message:

Code: Select all
mount -o bind /volume1/opt /opt


gives

Code: Select all
mount: Mounting /volume1/opt on /opt failed: No such file or directory


and

Code: Select all
/bin/mount --help


gives

Code: Select all
BusyBox v1.1.0 (2008.06.20-20:12+0000) multi-call binary

Usage: mount [flags] DEVICE NODE [-o options,more-options]
Synology DS-508 - 2 x Seagate 750GB ST3750640AS Raid1 - 2 x Seagate 750GB ST3750330AS RAID1 - 1 x Maxtor 120GB 6Y120M0 BASIC
Fritze
Beginner
Beginner
 
Posts: 20
Joined: Mon Jul 21, 2008 9:13 am

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby Fritze » Sat Jul 26, 2008 2:21 pm

Ok, I got it working. Seems if I waited too long after reboot to re-run the script after doing the "rm -rf etc...." twice, it wouldn't complete.

Tried it again and logged on with Putty right after the beep (signaling complete boot-up) and ran the script, it installed fine.
Synology DS-508 - 2 x Seagate 750GB ST3750640AS Raid1 - 2 x Seagate 750GB ST3750330AS RAID1 - 1 x Maxtor 120GB 6Y120M0 BASIC
Fritze
Beginner
Beginner
 
Posts: 20
Joined: Mon Jul 21, 2008 9:13 am

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby seanm » Fri Aug 01, 2008 1:09 pm

Hi,
Would somebody be kind enough to compile courier ( http://www.courier-mta.org/ )
for this stream ( optware/syno-e500) ?

I like the look of it over cyrus or xmail - any comments ?

Also dovecot (http://www.dovecot.org/ ) is poss ?

Thanks
Sean
seanm
Apprentice
Apprentice
 
Posts: 88
Joined: Tue Apr 29, 2008 12:40 pm

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby jaclin » Tue Aug 12, 2008 3:02 pm

Hi
When I try to run the script I get this output:
DiskStation> sh ./syno-e500-bootstrap_1.2-4_powerpc.xsh
Optware Bootstrap for syno-e500.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1156+1 records in
1156+1 records out
Backup your configuration settings, then type:
rm -rf /volume1/opt
rm -rf /usr/lib/ipkg
This will remove all existing optware packages.

You must *reboot* and then restart the bootstrap script.

I've tried to run:
Code: Select all
  rm -rf /volume1/opt
  rm -rf /usr/lib/ipkg

And then reboot and the script but i still get the same output.

What am I doing wrong.
Fritze wrote:Ok, I got it working. Seems if I waited too long after reboot to re-run the script after doing the "rm -rf etc...." twice, it wouldn't complete.
Tried it again and logged on with Putty right after the beep (signaling complete boot-up) and ran the script, it installed fine.

I've tried this to, maybe I'm to slow :wink:
jaclin
Trainee
Trainee
 
Posts: 15
Joined: Tue Aug 12, 2008 2:50 pm

Re: [announce] optware/syno-e500 xsh from nslu2-linux

Postby Fritze » Tue Aug 12, 2008 3:32 pm

Try running the rm -rf etc (both of them) just after you log on after reboot and run the script again.
Fritze
Beginner
Beginner
 
Posts: 20
Joined: Mon Jul 21, 2008 9:13 am

Next

Return to Freescale MPC8543 Development Room

Who is online

Users browsing this forum: No registered users and 1 guest