Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 10

Hybrid View

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    12

    Modifying existing firmware

    Hi again,

    Since I didn't manage to build the correct firmware, I've tried modifying the firmware we are using now (7.5.1).

    What I did was to unzip the .bin file, mount root.cramfs, copy the files there to a new r/w folder. Some of the folders in the mounted image, it says are hardlinks to /etc/default, which doesn't get copied, so I've made them manually in the new folder, as symlinks to etc/default. The proc folder wont copy either, so this I've just made as a regular folder. (have tried it as a symlink to etc/default as well). I've made sure all the files are owned by root, so uid/gid = 1. To make sure there are no other missing files (other hardlinks that didn't get copied or /dev files or whatever) I've done a "find .|wc -l" and it says 3059 lines both in the original and my folder.

    After thus I edit some files (just testing, changing some strings in strings.txt), and version number in /etc/squeezeos.version.

    Then I mkcramfs, get the new md5 and update the md5 file, and zip the files to a new custom.baby.bin. Also I've updated custom.baby.version.

    This makes the server send the new firmware to the Radio, where I accept and it downloads nicely. After this however, it hangs on bootup, the display says "Restoring factory settings" or something like that. I've waited a long time, and it doesn't go away..

    Luckily I get the previous fw back, by pressing the REW button on bootup

    Does anyone know why this doesn't work?

  2. #2
    Junior Member
    Join Date
    Dec 2011
    Posts
    12
    I got it to work, following this technique:
    (using cpio instead of cp)


    http://kaarthik.wordpress.com/2007/1...-cramfs-image/

  3. #3
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    11,042
    What are you trying to modify ?
    If it's a matter of small changes it might be easier to apply them with a patch through the third party Patch Installer applet, that way you don't have to re-build a new firmware image whenever Logitech releases a new version.

    If you want to build a custom firmware image, keep in mind that unless I've misunderstood it contains some drivers and other stuff which you aren't allowed to redistribute without permissions from Logitech. This is of course only an issue if you are going to redistribute it, if you just do it for your own personal usage it's not an issue.
    Erland Isaksson (My homepage)
    Developer of many plugins/applets

  4. #4
    MrSinatra
    Guest
    so for ip3k and other stuff the FW is open source? you just can't redistribute it if u make any changes to it?

  5. #5
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    11,042
    Quote Originally Posted by MrSinatra View Post
    so for ip3k and other stuff the FW is open source? you just can't redistribute it if u make any changes to it?
    IP3K (firmware in old players) is not open source as far as I know.
    SqueezePlay (firmware in new players) is open source.

    You are not allowed to redistribute modified or unmodified versions of any of the firmware or SBS/LMS unless you either:
    1. Remove the parts which only is allowed to be distributed by Logitech directly, it's some drivers, codec, artwork and similar things that has to be removed.
    or
    2. Get permission from Logitech to redistribute it

    The License.txt files contains more details and the following wiki page describes a bit regarding SqueezeOS and the licenses used:
    http://wiki.slimdevices.com/index.ph...S_Architecture
    (It's not updated with the license change to BSD license though, I believe Logitech Public Source is licensed as BSD now)
    Erland Isaksson (My homepage)
    Developer of many plugins/applets

  6. #6
    MrSinatra
    Guest
    thx for the info. i thought i recalled some kind of restriction to ip3k... note my comment in this bug, still waiting to hear them answer that riddle:

    http://bugs.slimdevices.com/show_bug.cgi?id=6376

  7. #7
    Junior Member
    Join Date
    Dec 2011
    Posts
    12
    Quote Originally Posted by erland View Post
    You are not allowed to redistribute modified or unmodified versions of any of the firmware or SBS/LMS unless you either:
    1. Remove the parts which only is allowed to be distributed by Logitech directly, it's some drivers, codec, artwork and similar things that has to be removed.
    Do you have some pointers to information about what drivers etc? From the wiki page bellow, it looks like it's just some 3rd party applets? If you know someone who has done this, I would love to get in touch with them.

    Quote Originally Posted by erland View Post
    The License.txt files contains more details and the following wiki page describes a bit regarding SqueezeOS and the licenses used:
    http://wiki.slimdevices.com/index.ph...S_Architecture
    (It's not updated with the license change to BSD license though, I believe Logitech Public Source is licensed as BSD now)
    Is there a generic License.txt for the firmware itself? I can't find it in neither the repos nor the file itself..

    Thanks
    Magg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •