Page 2 of 2

Re: New firmware compiled & for testing!

Posted: Mon Jan 18, 2010 11:15 pm
by ilinux
For firefly is a server for itunes that work like a charm but I think isn't compatible with mpd.

If you want your mp3 can plug usb mass device and install usb storage support and filesystem module (vfat,ntfs,ext2,ext3) or mount samba / windows sharing with cifs module.

Note that you have to edit /etc/config/fstab for persistance or add startup script before mpd start ;)

Re: New firmware compiled & for testing!

Posted: Wed Jan 20, 2010 6:26 am
by andn
Hi,

for some reason (I'm almost sure I was trying it before) ilinux' mpd config just works! Thank You!
On the other hand, opkg is not willing to cooperate. Of course, the repo pointed in ilinux' config is ok, but when I'm trying to get something from kamikaze:

Code: Select all

Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-bluetooth found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-bluetooth.Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-bluetooth found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-bluetooth.
This is really frustrating. Spent the whole last night trying to fix it. There is some info about that problem on openmoko, but not working. Where is the architecture info stored?

I partially solved the issue, I mentioned in my first post here. My favourite stream is simply a mp4 for 128 kbps or mp3 but at 96kbps. Well, those people makin it hard... I want the 128! :) Only thing decompressing mp4 I found is faad2. Fail again.

Re: New firmware compiled & for testing!

Posted: Wed Jan 20, 2010 7:56 am
by ilinux
Hello,

This package "kmod-bluetooth" isn't in my repo. You have to download from openwrt repos. Sorry :roll:

Re: New firmware compiled & for testing!

Posted: Wed Jan 20, 2010 12:28 pm
by andn
Hi ilinux,

I know, I know. Thats exactly the pain for me :) I can't use the kamikaze repo. Leak of experience with packages because of the simplicity offered by package managers.

Re: New firmware compiled & for testing!

Posted: Mon Jan 25, 2010 9:23 pm
by cj6666
Hi ilinux,

I'm trying to compile the image by myself also but I am stuck at one problem. When I include mpd in the build, the trx file increase by 1703936 bytes causing total image file to be close to 4MB.

I look at the ipk file, mpd_0.15.5-1_brcm-2.4.ipk is only 123.9kB. I don't understand why including mpd will increase the total image size by so much.

Would it make any difference if I first write the image without mpd and then use opkg to install the mpd feature?
The image without mpd is only 2297856 bytes so it will fit into ROM nicely.

Thanks in advance. CJ

Re: New firmware compiled & for testing!

Posted: Thu Jan 28, 2010 12:16 pm
by ilinux
Hi,

What version are you try to build 8.09.2 or trunk?

In my repo you can find ready made openwrt firmware with an update mpd version 0.15.7. This ipkg is 127k.

Re: New firmware compiled & for testing!

Posted: Fri Jan 29, 2010 10:46 pm
by cj6666
Hi ilinux,
I've been struggling for a while for this problem, if you can help me, you would save my day!
This is what I did exactly to compile my own image:

(1) I used this command to check out the kamikaze,

Code: Select all

%svn checkout svn://svn.openwrt.org/openwrt/trunk kamikaze
(2) And then I update and install the music playing packages

Code: Select all

%./scripts/feeds update
%./scripts/feeds install mpc mpd madplay
Installing package 'mpc'
Installing package 'mpd'
Installing package 'flac'
Installing package 'libid3tag'
Installing package 'libmad'
Installing package 'libvorbisidec'
Installing package 'glib2'
Installing package 'libiconv'
Installing package 'gettext'
Installing package 'libmms'
Installing package 'curl'
Installing package 'sqlite3'
Installing package 'libvorbis'
Installing package 'libogg'
Installing package 'libshout'
Installing package 'madplay'
(3) Using "make menuconfig", I select kmod-openwrt-brcm-2.4-squashfs.trxusb-core, kmod-usb-audio, and kmod-usb-ohci. I also select mpd, mpc and madplay. And then I type "make" to produce the image.

(4) The file "openwrt-brcm-2.4-squashfs.trx" is 4001792 bytes, too big to fit into ROM.

The listing under /bin/brcm2.4/bin/packages might provide some clues:

Code: Select all

total 4228
-rw-rw-r--. 1 CJ CJ  30539 2010-01-30 00:10 base-files_37-r19392_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ 276046 2010-01-30 00:13 busybox_1.15.3-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  84415 2010-01-30 00:13 dnsmasq_2.52-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ 107831 2010-01-30 00:18 dropbear_0.52-4_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   5079 2010-01-30 00:53 firewall_1-10_all.ipk
-rw-rw-r--. 1 CJ CJ 537917 2010-01-30 00:43 glib2_2.22.2-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  42768 2010-01-30 00:53 iptables_1.4.6-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   2676 2010-01-30 00:53 iptables-mod-conntrack_1.4.6-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   4973 2010-01-30 00:53 iptables-mod-nat_1.4.6-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ    638 2010-01-30 00:53 kernel_2.4.37.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ 370087 2010-01-30 00:11 kmod-brcm-wl_2.4.37.5+4.150.10.5.3-6_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  12261 2010-01-30 00:10 kmod-diag_2.4.37.5-6_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  16881 2010-01-30 00:54 kmod-ipt-conntrack_2.4.37.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  21880 2010-01-30 00:53 kmod-ipt-core_2.4.37.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  15742 2010-01-30 00:54 kmod-ipt-nat_2.4.37.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  10148 2010-01-30 00:54 kmod-ipt-nathelper_2.4.37.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  25317 2010-01-30 00:54 kmod-ppp_2.4.37.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   9075 2010-01-30 00:54 kmod-pppoe_2.4.37.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   4766 2010-01-30 00:54 kmod-sound-core_2.4.37.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  14187 2010-01-30 00:56 kmod-switch_2.4.37.5-2_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  25712 2010-01-30 00:54 kmod-usb-audio_2.4.37.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  45360 2010-01-30 00:54 kmod-usb-core_2.4.37.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  13773 2010-01-30 00:54 kmod-usb-ohci_2.4.37.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   2617 2010-01-30 00:11 kmod-wlcompat_2.4.37.5+4.150.10.5.3-6_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ 225021 2010-01-30 00:10 libc_0.9.30.1-37_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ 109619 2010-01-30 00:27 libcurl_7.19.6-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  62269 2010-01-30 00:27 libflac_1.1.2-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  22747 2010-01-30 00:10 libgcc_3.4.6-37_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  14444 2010-01-30 00:38 libiconv_1.11-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  25173 2010-01-30 00:44 libid3tag_0.15.1b-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  15581 2010-01-30 00:33 libintl_0.16.1-4_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  15989 2010-01-30 00:53 libiptc_1.4.6-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  81988 2010-01-30 00:54 liblua_5.1.4-5_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  62951 2010-01-30 00:44 libmad_0.15.1b-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  20517 2010-01-30 00:45 libmms_0.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   9537 2010-01-30 00:45 libogg_1.1.4-2_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ 492532 2010-01-30 00:22 libopenssl_0.9.8l-2_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  19250 2010-01-30 00:10 libpthread_0.9.30.1-37_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   1095 2010-01-30 00:10 librt_0.9.30.1-37_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  26633 2010-01-30 00:46 libshout_2.2.2-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ 222874 2010-01-30 00:52 libsqlite3_3.6.20-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ 154783 2010-01-30 00:10 libstdcpp_3.4.6-37_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  15077 2010-01-30 00:56 libuci_0.7.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   6138 2010-01-30 00:56 libuci-lua_0.7.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ 202439 2010-01-30 00:47 libvorbis_1.2.3-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  78439 2010-01-30 00:46 libvorbisidec_1.0.2+svn14261-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  11427 2010-01-30 00:53 libxtables_1.4.6-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   8936 2010-01-30 00:54 lua_5.1.4-5_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  35106 2010-01-30 00:48 madplay_0.15.2b-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  27708 2010-01-30 00:48 mpc_0.17-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ 126831 2010-01-30 00:52 mpd_0.15.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   9788 2010-01-30 00:54 mtd_11_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  69594 2010-01-30 00:11 nas_4.150.10.5.3-6_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  10918 2010-01-30 00:54 nvram_5_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  70261 2010-01-30 00:55 opkg_513-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  28665 2010-01-30 01:01 Packages
-rw-rw-r--. 1 CJ CJ   6778 2010-01-30 01:01 Packages.gz
-rw-rw-r--. 1 CJ CJ 114378 2010-01-30 00:56 ppp_2.4.4-4_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  10199 2010-01-30 00:56 ppp-mod-pppoe_2.4.4-4_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   6943 2010-01-30 00:56 uci_0.7.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ   9238 2010-01-30 00:56 ucitrigger_0.7.5-1_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  32008 2010-01-30 00:10 wireless-tools_29-4_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  12433 2010-01-30 00:11 wlc_4.150.10.5.3-6_brcm-2.4.ipk
-rw-rw-r--. 1 CJ CJ  34954 2010-01-30 00:18 zlib_1.2.3-5_brcm-2.4.ipk
As you can see, my mpd is 0.15.5 and when installing the sound package, it bring in quite a substantial libraries such as libcurl, glib2, sqlites3, etc.
Could you tell me how you reduce the image size? Is it because some library are not needed? If you remove some unnecessary libraries, could you tell me how you do it? My goal is to compile my own image.

Thanks in advance, CJ

Re: New firmware compiled & for testing!

Posted: Fri Jan 29, 2010 10:48 pm
by cj6666
Oh and by the way, my "make menuconfig" shows it is "r19392". I don't know whether this information is relevant or not.