Busybox for Coolstream HD1

Status
Not open for further replies.

elgeneral

Registered
Messages
7,811
busybox-1.15.1 für Coolstream HD1

Code:
huhu,
ich hab mich mal dran gemacht und busybox-1.15.1 für die coolstream hd1 fit gemacht (soweit mir möglich war).  
die box bootet, telnet und ftp funktionieren auch schonmal, hrhr.

busybox
BusyBox v1.15.1 (2009-09-18 05:01:21 CEST) multi-call binary
Copyright (C) 1998-2008 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:
    	[, [[, adduser, ash, awk, basename, bunzip2, bzcat, cat, chgrp, chmod, chown, chroot, cmp, cp, cut, date, dd, deluser, df, diff, dirname, dmesg, dnsdomainname, dos2unix, du, echo, egrep, env,
    	ether-wake, expr, false, fdisk, fgrep, find, free, fsck, grep, gunzip, gzip, halt, hdparm, head, hostname, ifconfig, ifdown, ifup, inetd, init, insmod, ipcrm, ipcs, kill, killall, klogd,
    	linuxrc, ln, login, logread, losetup, ls, lsattr, lsmod, md5sum, mesg, mkdir, mkfifo, mknod, mkswap, mktemp, modprobe, more, mount, mv, netstat, nice, nohup, nslookup, passwd, pidof, ping,
    	poweroff, ps, pwd, readprofile, reboot, renice, rm, rmdir, rmmod, route, run-parts, sed, sh, sleep, sort, stty, swapoff, swapon, sync, syslogd, tail, tar, telnet, telnetd, test, time, top,
    	touch, traceroute, true, udhcpc, umount, uniq, unix2dos, unzip, uptime, usleep, vi, watchdog, wc, wget, yes, zcat



ich hab unten ein paket angehängt, in dem alle benötigten dateien dabei sind.
...auch ein diff, falls jemand selbst bauen und testen möchte.  
der einbau sollte allerdings nur von erfahrenen benutzern gemacht werden, die ihre box auch mal retten können wenn sie nicht mehr bootet.
es werden wichtige startdateien verändert, bei denen man keine fehler machen sollte, muahaha.  

...also alles auf eigene gefahr.  

im paket sind folgende dateien enthalten:
- /bin/busybox
- /etc/hostname
- /etc/hosts
- /etc/inetd.conf
- /etc/inittab
- /etc/services
- /etc/init.d/rcS

zum einbau:
- einfach alle dateien wie im paket auf die box kopieren (vorhandene dateien überschreiben), rechte anpassen und neustarten.

...wenn alles gut gegangen ist, sieht man sowas im log: 	
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 116K
init started: BusyBox v1.15.1 (2009-09-18 05:01:21 CEST)
starting pid 245, tty '/dev/ttyRI0': '/etc/init.d/rcS'
devpts: called with bogus options
mount: mounting /dev/sda1 on /media/sda1 failed: No such file or directory
mount: mounting /dev/sdb1 on /media/sdb1 failed: No such file or directory
run-parts: /etc/network/if-pre-up.d: No such file or directory
run-parts: /etc/network/if-up.d: No such file or directory
run-parts: /etc/network/if-pre-up.d: No such file or directory
run-parts: /etc/network/if-up.d: No such file or directory
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: misc, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: bus, action: add, product: (null), interface: (null)
HOTPLUG: source: drivers, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: drivers, action: add, product: (null), interface: (null)
HOTPLUG: source: drivers, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: i2c-adapter, action: add, product: (null), interface: (null)
HOTPLUG: source: i2c-dev, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: class, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: platform, action: add, product: (null), interface: (null)
HOTPLUG: source: drivers, action: add, product: (null), interface: (null)
HOTPLUG: source: dvb, action: add, product: (null), interface: (null)
HOTPLUG: source: dvb, action: add, product: (null), interface: (null)
HOTPLUG: source: dvb, action: add, product: (null), interface: (null)
HOTPLUG: source: drivers, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: graphics, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: module, action: add, product: (null), interface: (null)
HOTPLUG: source: platform, action: add, product: (null), interface: (null)
HOTPLUG: source: scsi_host, action: add, product: (null), interface: (null)
HOTPLUG: source: scsi_host, action: add, product: (null), interface: (null)
starting pid 342, tty '/dev/ttyRI0': '/sbin/vsftpd'
starting pid 344, tty '/dev/ttyRI0': '/etc/init.d/start_neutrino'
starting pid 346, tty '/dev/ttyRI0': '/bin/sh'
/bin/sh: can't access tty; job control turned off
# /var/tuxbox/config/zapit/epgfilter.xml: No such file or directory
/var/tuxbox/config/zapit/dvbtimefilter.xml: No such file or directory
/var/tuxbox/config/mybouquets.xml: No such file or directory
/tmp/camd.socket: No such file or directory
10:18:50.000 [timeThread] - 18.09.2009 10:18:50, tim: Fri Sep 18 10:18:50 2009
10:18:50.003 [timeThread] Time set via DVB, going to sleep for 1800 seconds.
loading locales: scandir: No such file or directory
cDvbSubtitleConverter::Pause: pause
10:18:55.609 eit_set_update_filter, servicekey = 0x44d00016dca, current version 0x1e



...dann haut mal rein.


by wittinobi
 

juli13

Staff member
Administrator
Messages
10,198
New release of busybox-1.15.1 24.09.2009

bissle got screwed again ...
new diff is below.
import after the new busybox, needs to be amended as follows:
- / Etc / inittab (calling for start_neutrino Trail)

Code:
/etc/inittab
#
# Copyright (C) 2001 Erik Andersen <[email protected]>
#
# Note: BusyBox init doesn't support runlevels.  The runlevels field is
# completely ignored by BusyBox init. If you want runlevels, use
# sysvinit.
#
# Format for each entry: <id>:<runlevels>:<action>:<process>
#
# id        == tty to run on, or empty for /dev/console
# runlevels == ignored
# action    == one of sysinit, respawn, askfirst, wait, and once
# process   == program to run

# Startup the system
ttyRI0::sysinit:/etc/init.d/rcS
null::once:/etc/init.d/start_neutrino

# Set up a getty's
ttyRI0::respawn:/bin/sh
ttyRI0::sysinit:/sbin/vsftpd

# Stuff to do for the 3-finger salute
#null::ctrlaltdel:/sbin/reboot

# Stuff to do before rebooting
#null::shutdown:/usr/bin/killall klogd
#null::shutdown:/usr/bin/killall syslogd
#null::shutdown:/bin/umount -a -r
#null::shutdown:/sbin/swapoff -a

# last line
 

juli13

Staff member
Administrator
Messages
10,198
04.07.2010

busybox 1.2.0

Code:
Busybox 1.2.0 with awk, nc, pivot_root, readlink and uname for original FW.

Don't forget chmod to 755 and make links (ln -s busybox awk...).
 
Status
Not open for further replies.
Top