UNSOLVED

ozj

updated

10 years ago

O

ozj

2 Posts

0

2783

January 11th, 2017 14:00

How to compile USB bootable image with the latest updates?

Hi all,

My XPS 13 9350 with Thunderbolt port has issues with external monitors and I've given an advice of updating firmwares fix those issues.

This is my second XPS 13 and it has no Windows but Ubuntu only. Finally I got the right cable (which confirmed to work with XPS 13 9350 from the manufacturer), and I still have issues of falling into 'power save mode' in a couple of minutes after being connected to external monitors.

I know BIOS update is easy, but to update Thunderbolt firmwares (and some others), I need a fully functional WIndows.

If I remember correctly, someone in the forum successfully compiled and build USB bootable image to apply updates.

Could someone explain or point me how to compile such image? I've tried to compile one using win10pese, but failed.

Any helps will be greatly appreciated!

Thanks

- ozj

  • 1473

    0

    Posted January 12th, 2017 08:00

    > I know BIOS update is easy, but to update Thunderbolt firmwares (and some others), I need a fully functional WIndows.

    You can update Thunderbolt firmwares via Linux as I know. But for now you still have to compile soft. I hope soon it'll be fixed

  • DELL-Jared D

    2 Intern

    350 Posts

    1473

    0

    Posted January 12th, 2017 09:00

    > I know BIOS update is easy, but to update Thunderbolt firmwares (and some others), I need a fully functional WIndows.

    You can update Thunderbolt firmwares via Linux as I know. But for now you still have to compile soft. I hope soon it'll be fixed

    Correct. This is something we're actively working on with Intel. We released this just before Christmas:

    https://github.com/dell/thunderbolt-nvm-linux 

  • 1473

    0

    Posted January 12th, 2017 09:00

    FYI: I tried to build it but I had some gcc error and I haven't enough time to figure it out. deb packages or live usb can bring more  beta testers :)

  • 1473

    0

    Posted January 12th, 2017 10:00

    Can you share what your error was?  There's obviously a lot of areas that need to be compiled right now.Was it with compiling the dell force tool or with thunderbolt-user-space?

    We're still working on integration with fwupd.  When all of that work is done and in a stable released version we'll release binary packages (deb's)

  • ozj

    2 Posts

    1473

    0

    Posted January 12th, 2017 14:00

    Thanks Yury and Jared

    I can't believe how SW development and engineering have been regressed!

    I chose XPS 13 as my Linux dev platform to avoid all the unnecessary headaches and hassles, and now I need to dig deeper and deeper to use Dell's own external monitor!

    It just reminded me old Slackware days which I never have wanted to return back again!

    Because I do not believe building from source code anymore, I'll wait for a deb packaged version, if I can't get a bootable Windows image with updates.

    Thanks

    ozj

  • 1473

    0

    Posted January 16th, 2017 14:00

    Heh.

    No, I was wrong - deb package is also broken. Look at size

    564 thunderbolt-daemon-16.2.57.13-1.x86_64.deb

    and content

    dpkg -L thunderbolt-daemon
    /usr

  • 1473

    0

    Posted January 16th, 2017 14:00

    I've done it manuall

    sudo cp ../thunderbolt-software-user-space/thunderbolt-daemon-build/bin/thunderboltd /usr/bin

    sudo cp thunderbolt-software-user-space./ThunderboltService/Linux/config/thunderbolt.conf /etc/dbus-1/system.d/

    sudo /usr/bin/thunderboltd

    But looks like I haven't new version of firmware for my controller

    Update this controller: 03001575
    to the image in file:
    payloads/0x075B.bin

    current NVM version: 18.05

    image NVM version: 18.05

    Would you like to proceed? [yes/no] no

  • 1473

    0

    Posted January 16th, 2017 14:00

    Never mind,

    cpack -G DEB   works as expected. Thanks :)

  • 1473

    0

    Posted January 16th, 2017 14:00

    Hi Mario,

    Sorry for late answer.

    thunderbolt_icm was build without any issue

    lsmod|grep thunderb
    thunderbolt_icm        45056  0

    But I can build but can't install daemon. Here is my steps:

    1. git clone github.com/.../thunderbolt-software-user-space.git

    2. cd thunderbolt_icm

    3. git checkout fwupdate

    # next steps - from INSTALL.daemon
    4. mkdir thunderbolt-daemon-build
    5.  cmake ../ThunderboltService/Linux -DCMAKE_BUILD_TYPE=Release
    6.  make  #no any problem here
    7. sudo make install

    make: *** No rule to make target 'install'.  Stop.  <- here is an error

    Thanks in advance for any help