Kodi Community Forum
Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112)
+--- Thread: Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] (/showthread.php?tid=194362)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.9 - 2014/06/11] - noggin - 2014-06-14

(2014-06-14, 05:22)levendis Wrote:
(2014-06-14, 03:31)trick420 Wrote: Well, that explains it... I don't have a +/- in my view...
I'm guessing that we need to have some reputation here before we're allowed to vote on others...

You may have had to reach a certain number of posts or been a member for a certain period of time?


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - Matt Devo - 2014-06-14

Gents, let's get this thread back on topic Smile

script updated / new builds posted. Fixes USB detection issues on the SeaBIOS boot menu. If anyone still has problems, send me a PM

(2014-06-14, 07:11)starfire-1 Wrote: Matt and company,

I just received my Celeron based chromebox and wanted to just wade into the pool before diving in. I updated the Legacy SeaBIOS with the most recent version and can indeed boot live versions of Ubuntu and Fedora from a USB stick and from a virtual CD (Zalman HD case).

However, when I install a distribution to an external hard drive (standard partitions, MBR format, boot loader installed to MBR) and select the device from SeaBIOS, it complains that it cannot read the boot device and fails.

What is the subtle difference that allows me to boot a live distro USB but not an installed version? Is it the grub bootloader?

I'd like to dual boot my box, but leave the ChromeOS largely in tact and run a Linux distro from the external hard drive. Any ideas? Thanks!

First thing I would do is update your legacy BIOS to the version I just posted (20140613) using the new script, as it fixes some USB-related issues with SeaBIOS.

If that doesn't work, LMK what distro, USB2 or 3 for the external drive, etc and I'll try to replicate here


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - Smobbo - 2014-06-14

Just got my chromebox and ran the script, it went flawless Smile !
What a huge difference with a raspberry pi!

Great work Matt!


I'm adjusting all the settings and I can't seem to fix 2 things.
1. How do I add a skin to the correct openelec folder? I'm used to accessing the raspberry via windows explorer and just copy over the skin folder to ~\.xbmc\addons etc. but I can't find the .xbmc folder via windows explorer. I can only find a few folder (among which the userdata).
2. When I try airplay with my iPad it just sees openelec as something that can play audio. Is this a known bug or should this work? I know airplay is a real PITA...


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - starfire-1 - 2014-06-14

(2014-06-14, 17:44)Matt Devo Wrote: First thing I would do is update your legacy BIOS to the version I just posted (20140613) using the new script, as it fixes some USB-related issues with SeaBIOS.

If that doesn't work, LMK what distro, USB2 or 3 for the external drive, etc and I'll try to replicate here

Thanks for taking a look. I tried a couple of more things before replying. I update to the latest legacy BIOS, but no joy, and I updated the HD firmware, but no joy.

I'll describe my latest attempt. I have a Zalman HD enclosure that can present ISOs as a virtual drive. Plugging this into a USB port near the network connector and my target HD (a USB 3.0 500GB WD My Passport hard drive) to a "front" USB port, I booted the Fedora 20 x86_64 full DVD (using the mem=1800M switch) and proceeded with a standard install. The WD hard drive was presented as /dev/sdb and I created a 4GB swap partition and 20GB root partition. Installed the boot loader to /dev/sdb. All went well.

However, upon reboot and removing the Zalman drive, the Legacy boot attempt fails with "cannot read disk", tries a floppy (don't know where thats comping from) and then waits a minute.

I can disconnect the WD hard drive and boot it from my Asus/FX4100 and Gigibyte i7 2600K systems without a problem.

I have also tried a similar attempt with Ubuntu 14.04 (from a live CD ISO) without success.

Is there some SeaBIOS diagnostic info I can look at? Thanks!

Edit:
One more data point ... I installed Fedora 20 in virtually the same way on a drive housed in a NexStar3 2.5" HD enclosure through a USB2.0 connection and it worked! So it appears as if the WD MyPassport USB 3.0 (FW 1.025 - newest) seems to have an incompatibility with the SeaBIOS. Perhaps it is the SES driver that WD likes to include in their firmware. I'll see if I can disable that.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - jsp1 - 2014-06-15

(2014-06-14, 23:23)Smobbo Wrote: Just got my chromebox and ran the script, it went flawless Smile !
What a huge difference with a raspberry pi!

Great work Matt!


I'm adjusting all the settings and I can't seem to fix 2 things.
1. How do I add a skin to the correct openelec folder? I'm used to accessing the raspberry via windows explorer and just copy over the skin folder to ~\.xbmc\addons etc. but I can't find the .xbmc folder via windows explorer. I can only find a few folder (among which the userdata).
2. When I try airplay with my iPad it just sees openelec as something that can play audio. Is this a known bug or should this work? I know airplay is a real PITA...

Why not pull the skin from a repository? I'm pretty sure if you want to do it manually you will need to SSH into the box using something like Putty.

In case you aren't familiar...
http://wiki.openelec.tv/index.php?title=OpenELEC_FAQ#How_do_i_use_SSH.3F

This way you could move your skin folder into a temp location that is accessible remotely via windows explorer and then move it to the proper location with the "cp" command.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - Matt Devo - 2014-06-15

(2014-06-14, 23:23)Smobbo Wrote: Just got my chromebox and ran the script, it went flawless Smile !
What a huge difference with a raspberry pi!

Great work Matt!


I'm adjusting all the settings and I can't seem to fix 2 things.
1. How do I add a skin to the correct openelec folder? I'm used to accessing the raspberry via windows explorer and just copy over the skin folder to ~\.xbmc\addons etc. but I can't find the .xbmc folder via windows explorer. I can only find a few folder (among which the userdata).
2. When I try airplay with my iPad it just sees openelec as something that can play audio. Is this a known bug or should this work? I know airplay is a real PITA...

1) It's much easier to just reinstall the skins from an add-on repository or zip file that you copy into the downloads folder. OE specifically tries to prevent you from screwing things up yourself Smile

2) I'd check the OpenELEC forums regarding Airplay issues. I don't have an iDevice to test here.

(2014-06-14, 23:53)starfire-1 Wrote: Thanks for taking a look. I tried a couple of more things before replying. I update to the latest legacy BIOS, but no joy, and I updated the HD firmware, but no joy.

I'll describe my latest attempt. I have a Zalman HD enclosure that can present ISOs as a virtual drive. Plugging this into a USB port near the network connector and my target HD (a USB 3.0 500GB WD My Passport hard drive) to a "front" USB port, I booted the Fedora 20 x86_64 full DVD (using the mem=1800M switch) and proceeded with a standard install. The WD hard drive was presented as /dev/sdb and I created a 4GB swap partition and 20GB root partition. Installed the boot loader to /dev/sdb. All went well.

However, upon reboot and removing the Zalman drive, the Legacy boot attempt fails with "cannot read disk", tries a floppy (don't know where thats comping from) and then waits a minute.

I can disconnect the WD hard drive and boot it from my Asus/FX4100 and Gigibyte i7 2600K systems without a problem.

I have also tried a similar attempt with Ubuntu 14.04 (from a live CD ISO) without success.

Is there some SeaBIOS diagnostic info I can look at? Thanks!

Edit:
One more data point ... I installed Fedora 20 in virtually the same way on a drive housed in a NexStar3 2.5" HD enclosure through a USB2.0 connection and it worked! So it appears as if the WD MyPassport USB 3.0 (FW 1.025 - newest) seems to have an incompatibility with the SeaBIOS. Perhaps it is the SES driver that WD likes to include in their firmware. I'll see if I can disable that.

USB 3.0 devices are not supported as boot devices with the stock firmware; the stock firmware is just broken that way. If you use the Coreboot firmware then it should work just fine. You could always install ChromiumOS to the internal HDD and then dual boot between it and Fedora.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - menno - 2014-06-15

I run OE latest stable on ASus Chromebox. After watching a HD channel for like 35 min, buffer errors start to appear they get gradually worse. Than I stop my live tv watching and start it again, and Ill be good for another half an hour. Nobody faces this is here on a Chromebox?

I still use the orginal firmware though. Maybe you could update the first page with a howto on what to do do if you were an early adapter and installed Openelec without the nice tweaks. I still need to do a CTRL -L , ESC and #1 sequence on reboot Smile

Doe suspend work with your version? I think this might fix the battery drain of my PS3-BD bluetooth remote. That seems to stay connected to the box and so drains my batteries in about two weeks.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - Matt Devo - 2014-06-15

(2014-06-15, 00:47)menno Wrote: I run OE latest stable on ASus Chromebox. After watching a HD channel for like 35 min, buffer errors start to appear they get gradually worse. Than I stop my live tv watching and start it again, and Ill be good for another half an hour. Nobody faces this is here on a Chromebox?

I still use the orginal firmware though. Maybe you could update the first page with a howto on what to do do if you were an early adapter and installed Openelec without the nice tweaks. I still need to do a CTRL -L , ESC and #1 sequence on reboot Smile

Doe suspend work with your version? I think this might fix the battery drain of my PS3-BD bluetooth remote. That seems to stay connected to the box and so drains my batteries in about two weeks.

What tweaks are you referring to? My script only uses the standard OpenELEC downloads these days, nothing custom. The only tweaks are to the bootloader to get OE booting properly in a dual-boot setup.

If you are intent on running the ChromeBox in a standalone OpenELEC setup, then you can always back up your current config (using the OpenELEC backup tool), copy the backup to your PC, and run the current version of the script to install the standalone/Coreboot firmware. Then re-install OE from USB (using the script to make a USB installer) and reload your config.

The standalone Coreboot firmware does properly support suspend/resume, but resume via IR remote is not working due to issues in the Linux kernel's USB3/XHCI implementation - it's not a ChromeBox specific issue, we just don't have the option to use a USB2 port. If you use a phone remote app like YATSE which uses wake on lan (WOL) for power on, then you can resume from suspend that way


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - starfire-1 - 2014-06-15

(2014-06-15, 00:39)Matt Devo Wrote: USB 3.0 devices are not supported as boot devices with the stock firmware; the stock firmware is just broken that way. If you use the Coreboot firmware then it should work just fine. You could always install ChromiumOS to the internal HDD and then dual boot between it and Fedora.

Thanks Matt. I misinterpreted the effect of the John Lewis patch in that it enabled the use of the USB 3.0 ports but does not allow for the booting of USB 3.0 disk. Do you know if anyone has tried chainloading or daisy chaining - e.g. have a bootloader that works with the stock firmware, but then allows you to select a USB 3.0 disk? Just curious.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - Matt Devo - 2014-06-15

(2014-06-15, 01:36)starfire-1 Wrote: Thanks Matt. I misinterpreted the effect of the John Lewis patch in that it enabled the use of the USB 3.0 ports but does not allow for the booting of USB 3.0 disk. Do you know if anyone has tried chainloading or daisy chaining - e.g. have a bootloader that works with the stock firmware, but then allows you to select a USB 3.0 disk? Just curious.

I had originally thought this was an issue with the stock Coreboot firmware, since my USB3 drives never showed up in the SeaBIOS boot menu. But, I just re-tested with my current SeaBIOS build (0613), and my USB3 flash drive suddenly appeared for the first time (and booted successfully), so I'm not sure what this issue is at the moment. It could be something with that specific drive, or it could be another SeaBIOS bug.

Since you said another (USB2) drive with the same setup booted successfully, I wouldn't suspect a bootloader issue. The only bootloader I've seen that has issues is syslinux 6.x, and only with the stock firmware. IME, if you try to boot a disk with syslinux 6.x, it's likely to reboot instantly.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - starfire-1 - 2014-06-15

(2014-06-15, 02:02)Matt Devo Wrote: I had originally thought this was an issue with the stock Coreboot firmware, since my USB3 drives never showed up in the SeaBIOS boot menu. But, I just re-tested with my current SeaBIOS build (0613), and my USB3 flash drive suddenly appeared for the first time (and booted successfully), so I'm not sure what this issue is at the moment. It could be something with that specific drive, or it could be another SeaBIOS bug.

Since you said another (USB2) drive with the same setup booted successfully, I wouldn't suspect a bootloader issue. The only bootloader I've seen that has issues is syslinux 6.x, and only with the stock firmware. IME, if you try to boot a disk with syslinux 6.x, it's likely to reboot instantly.

So, I did a little more testing and have some good news. I dug around for as many USB 3.0 devices I could find and discovered the following

1) USB thumb drive ADATA UV128/64GB is detected and will boot (but is slow)
2) The base of a STCA3000100 USB3.0 interface http://www.newegg.com/Product/Product.aspx?Item=N82E16822178110 was not even detected
3) All of my recent WD external USB 3.0 passport drives were detected but could not be read when booting
4) Finally, the interface from some Seagate drives that I emptied were both recognized AND WOULD BOOT! Yeah! Windows identifies the interface as "Raptor 3.5" USB 3.0"

EDIT: After searching around a little more I believe this is the working drive http://www.newegg.com/Product/Product.aspx?Item=N82E16822148848 STAY2000102 . There are many similar looking drives

So I was able to install AND boot Fedora 20 from the external drive by only updating the legacy firmware to Matt's current version.

I actually knew the last attempt was going to work because I tested the boot behavior without installing. You can try the following....

1) Insert a drive that you know can be detected (this forces the legacy rom to ask you to hit ESC)
2) Insert the drive you want to test and boot.
3) Hit Cntl-L and ESC to get the menu.
4) Find the entry for your test drive and select.

My WD drives would hang for a few seconds before reporting that the drive could not be read. However, the good interface was immediately read, did not report any errors, and then the BIOS tried all of the other interfaces before going into the 60 second wait.

Basically, if your USB 3.0 device can be detected and after selecting is immediately "passed over" ,then it may work as an external boot drive.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - jas722 - 2014-06-15

First off Thanks so much Matt! This is awesome and so easy to setup.

I bought an i3 Chromebox and was up and running OpenElec Standalone in no time.

I have a few questions which I haven't been able to find the answers to in this thread, please point me in the right direction if I missed them.

I've had the box lock up on me a few times when attempting to do a reboot from Openelec, would display a cursor hang and then display a list of errors on the screen. I updated the Coreboot to the newest version this morning and haven't seen the issue again. I'm hoping this fixes it, I will post a screenshot of the errors if I see it again.

Is there a way to get Wake on Lan working? I'm not sure if I need to set something up in the firmware or even how to do that since it boots so fast Big Grin I'm using the Yatse remote and it sends a WOL signal but the Chromebox does not boot.

Thanks again for the great work!

Edit: Just had the issue occur, my instance of boblight/lightpack wasn't in sync so I tried a reboot. http://imgur.com/DbjjwuM


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - menno - 2014-06-15

Quote:If you are intent on running the ChromeBox in a standalone OpenELEC setup, then you can always back up your current config (using the OpenELEC backup tool), copy the backup to your PC, and run the current version of the script to install the standalone/Coreboot firmware. Then re-install OE from USB (using the script to make a USB installer) and reload your config.

But I cannot run the script if dont have Chrome OS on it no more right?


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - Matt Devo - 2014-06-15

(2014-06-15, 16:40)jas722 Wrote: First off Thanks so much Matt! This is awesome and so easy to setup.

I bought an i3 Chromebox and was up and running OpenElec Standalone in no time.

I have a few questions which I haven't been able to find the answers to in this thread, please point me in the right direction if I missed them.

I've had the box lock up on me a few times when attempting to do a reboot from Openelec, would display a cursor hang and then display a list of errors on the screen. I updated the Coreboot to the newest version this morning and haven't seen the issue again. I'm hoping this fixes it, I will post a screenshot of the errors if I see it again.

Is there a way to get Wake on Lan working? I'm not sure if I need to set something up in the firmware or even how to do that since it boots so fast Big Grin I'm using the Yatse remote and it sends a WOL signal but the Chromebox does not boot.

Thanks again for the great work!

Edit: Just had the issue occur, my instance of boblight/lightpack wasn't in sync so I tried a reboot. http://imgur.com/DbjjwuM

No familiar with boblight, but sure looks like it may have been responsible for the crash. I'd post over on the OpenELEC forums or IRC channel as they'd likely be more help, and I'm guessing it's not a ChromeBox-specific issue.

YATSE / WOL works to wake the box from suspend, not full power off.

(2014-06-15, 18:48)menno Wrote:
Quote:If you are intent on running the ChromeBox in a standalone OpenELEC setup, then you can always back up your current config (using the OpenELEC backup tool), copy the backup to your PC, and run the current version of the script to install the standalone/Coreboot firmware. Then re-install OE from USB (using the script to make a USB installer) and reload your config.

But I cannot run the script if dont have Chrome OS on it no more right?

you can run the script from ChromiumOS as well though. Make yourself a bootable USB stick with ChromiumOS as described in the wiki section for restoring the stock firmware, but run the commands to download/run the script instead of the commands to restore the stock firmware Smile


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.10 - 2014/06/14] - Netix - 2014-06-15

(2014-06-07, 18:26)tetsuya Wrote: You can try the following and change the output to whats displayed from the first

Code:
xrandr -q
xrandr --output HDMI1 --set audio force-dvi

You shouldn't get overscan if it thinks it's dvi. You could aslo try

Code:
xrandr --output HDMI1 --set underscan on --set "underscan hborder" xx --set "underscan vborder" xx

Both of these doesn't work Sad I decided to try OE and the Chromium Browser and it does have overscan but I can live with it until I get a better solution.

(2014-06-09, 21:28)Matt Devo Wrote:
(2014-06-09, 21:24)menno Wrote: Is it just me or is this box in no way getting a gigabit connection on the latest OE (all final gotham .1)
Whatever i try with ethtool only 100 mbit full duplex does it! Sad((

I'm getting GigE no problem. Just transferred a multi-GB file over at ~93MB/sec

When I'm transferring a file from the Chromebox to my Window 7 PC. I'm only getting ~15MB/sec (The file is on a USB 3.0 on the Chromebox) Do you know what might be the issue ?

Edit :

- Transferring a file from the usb key (3.0) to my windows 7 directly it transfer at ~35mb/sec. It's a cheap usb3 I guess but I should get more then ~15 mb/sec while transferring from the chromebox to the pc ?