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


Is it worth the risk to update a working system installed about three weeks ago? - wally_666 - 2014-08-05

While this thread is all about installing, could we please have a small discussion about updating?

I ran the script and have a working OpenELEC standalone with Matt's "custom" build and Coreboot firmware. After applying the tweaks mentioned in this thread and the youTube addon thread, everything seems to work perfectly with the only "defect" being the hardware acceleration issue which doesn't seem to cause me any problems after the SW-filter tweak.

My gut says "if it ain't broke, don't fix it!" so my questions are:

Is it worth enabling automatic updates in OpenELEC now? Which it appears would initially "upgrade" me to 4.0.7 from Matt's 4.0.7-chromebox.

Do I need to update the Coreboot firmware again before updating? Which I installed around July 18th, 2014.

I finally got a Chromium image to boot from an 8GB USB stick, my Logitech K400 seems flaky with it but when it does work it seems OK. Is there a way in Chromium to "grow" the system image to use the entire 8GB stick? My 4GB stick didn't work and since the Chromebox came with an 16GB mSATA drive I figure the extra space could be useful. My Google-Fu is weak here, all I've found was some github stuff to suggest that its been worked on in the past.

I was impressed enough with the ChromeOS performance on the Chromebox for the little playing around I did with it to check out / verify the hardware before wiping that "dual booting" ChromiumOS via a USB stick seems adequate for me to get some more experience playing with it.


RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - Matt Devo - 2014-08-05

(2014-08-05, 20:12)wally_666 Wrote: While this thread is all about installing, could we please have a small discussion about updating?

I ran the script and have a working OpenELEC standalone with Matt's "custom" build and Coreboot firmware. After applying the tweaks mentioned in this thread and the youTube addon thread, everything seems to work perfectly with the only "defect" being the hardware acceleration issue which doesn't seem to cause me any problems after the SW-filter tweak.

My gut says "if it ain't broke, don't fix it!" so my questions are:

Is it worth enabling automatic updates in OpenELEC now? Which it appears would initially "upgrade" me to 4.0.7 from Matt's 4.0.7-chromebox.

4.1.2 has wake from USB enabled, so custom builds no longer needed. 4.1.3 will likely have a fix for one of the VAAPI hardware acceleration bugs (the one which the 'Use SW filter for VAAPI' option does not mitigate). I'd enable auto-updates for OE and let it do its thing, but you may have to manually update to a standard OE build before the auto-updating works.

Quote:Do I need to update the Coreboot firmware again before updating? Which I installed around July 18th, 2014.

not unless you need the fix from the 7/29 firmware. Firmware updates and OE updates are completely separate / not interdependent.

Quote:I finally got a Chromium image to boot from an 8GB USB stick, my Logitech K400 seems flaky with it but when it does work it seems OK. Is there a way in Chromium to "grow" the system image to use the entire 8GB stick? My 4GB stick didn't work and since the Chromebox came with an 16GB mSATA drive I figure the extra space could be useful. My Google-Fu is weak here, all I've found was some github stuff to suggest that its been worked on in the past.

I'd expect so, but I haven't looked into it myself, since I only use ChromiumOS for testing script/firmware updates.


RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - furii - 2014-08-05

(2014-08-05, 20:17)Matt Devo Wrote: 4.1.3 will likely have a fix for one of the VAAPI hardware acceleration bugs (the one which the 'Use SW filter for VAAPI' option does not mitigate).

just to make sure i'm following correctly, this is the bug with the Joe sample, right? if so that's good news as that should mean paired with the SW filter for VAAPI option there shouldn't be problems with using hardware acceleration for all material.


RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - soundpwns909 - 2014-08-05

(2014-08-05, 16:15)Matt Devo Wrote:
(2014-08-05, 07:51)soundpwns909 Wrote: Hey Matt, thanks for the guide. I've gotten openelec installed on my hp chromebox alongside chromeos, but when I try to set boot options it says: write protect enabled, non-stock firmware installed or not running chromeos; cannot set boot options.
I know I'm running ChromeOS, and I haven't flashed any firmware, so it has to be that write protect is enabled, correct?
I cannot for the life of me find any documentation of which screw I need to remove on the HP Chromebox, I have opened it up and removed the only screw that I could find that made sense, the second screw on the only corner of the motherboard that has 2 screws. But that doesn't do it either.

What am I missing? I have a feeling it's something really simple....

that error is returned only under the conditions listed; if you're running ChromeOS, then it's because you have not removed the write protect screw. It should be in the same location on your HP box as on the Asus - see pic in the wiki.

That's what I thought, and that's what has me confused, I stared at the inside of that box for hours last night trying to find the screw, but I can only find one screw that makes any sense, seems like its in the same place as the asus device, but I still get the error even after that screw is removed. Could it maybe be shorting itself even without the screw?


RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - Matt Devo - 2014-08-06

(2014-08-05, 22:48)soundpwns909 Wrote: That's what I thought, and that's what has me confused, I stared at the inside of that box for hours last night trying to find the screw, but I can only find one screw that makes any sense, seems like its in the same place as the asus device, but I still get the error even after that screw is removed. Could it maybe be shorting itself even without the screw?

look at the picture of the screw hole on the wiki - you'll see that the two metal sides are separated, and that the screw, when installed, connects the two to complete the circuit.

open up a shell prompt on your box, and type the following command:
Code:
sudo crossystem

look at the last two lines of output, for wpsw_cur and wpsw_boot. both should be 0, if not then write-protect is still enabled, and that's why you can't set the boot options.


RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - wally_666 - 2014-08-06

It looks like ChromiumOS is pretty unusable. I've tried three different USB sticks and two different "builds". The user interface is sluggish and mouse movement is very jumpy even with the lowest speed in "settings". About the only thing that seemed to work was adjusting the display size for overscan compensation.

Nothing else I've tried seems to actually work, Angry Birds (I did run this on the ChromeOS) locks up at "installing 60%". Pandora installs but says I need Flash, but Adobe's flash page says I have the latest version. I tried iHeartRadio and couldn't scroll down to acknowledge the "terms and conditions" to create and account.

Utterly useless as far as I can tell Sad
In fact two of the three sticks now give a kernel panic when I try to boot them Sad
Other than getting one to boot to Ctrl-Alt-F2 for the login to rerun your script I'd say forget about ChromiumOS on the Chromebox.


RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - betterhalf - 2014-08-06

Just got my chrome box.

Standalone Setup / coreboot Firmware Install / Update

This option will allow you to replace the stock firmware with a custom build of coreboot. This custom firmware fixes many issues with the stock firmware and significantly reduces the boot time, but is not ChromeOS compatible. (You can, however, run the open-source variant ChromiumOS. Downloads are available at http://chromium.arnoldthebat.co.uk/)

Confused on this step. If I wanted to do standalone with openelec do I have to replace the stock firmware with core boot (ChromeOS) before installing openelec via usb?


Re: RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - Matt Devo - 2014-08-06

(2014-08-06, 03:21)betterhalf Wrote: Confused on this step. If I wanted to do standalone with openelec do I have to replace the stock firmware with core boot (ChromeOS) before installing openelec via usb?

Yes, run step 5 then 6


RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - magy77 - 2014-08-06

(2014-08-05, 20:17)Matt Devo Wrote:
(2014-08-05, 20:12)wally_666 Wrote: While this thread is all about installing, could we please have a small discussion about updating?

I ran the script and have a working OpenELEC standalone with Matt's "custom" build and Coreboot firmware. After applying the tweaks mentioned in this thread and the youTube addon thread, everything seems to work perfectly with the only "defect" being the hardware acceleration issue which doesn't seem to cause me any problems after the SW-filter tweak.

My gut says "if it ain't broke, don't fix it!" so my questions are:

Is it worth enabling automatic updates in OpenELEC now? Which it appears would initially "upgrade" me to 4.0.7 from Matt's 4.0.7-chromebox.

4.1.2 has wake from USB enabled, so custom builds no longer needed. 4.1.3 will likely have a fix for one of the VAAPI hardware acceleration bugs (the one which the 'Use SW filter for VAAPI' option does not mitigate). I'd enable auto-updates for OE and let it do its thing, but you may have to manually update to a standard OE build before the auto-updating works.

From where did you know this? I didnt found some infos for 4.1.3


RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - Matt Devo - 2014-08-06

(2014-08-06, 05:36)magy77 Wrote: From where did you know this? I didnt found some infos for 4.1.3

I'm looking at the commits to the 4.2 branch, which will be used for the next beta. Also following the bug tracker on freedesktop.org, where the fix has been tested and confirmed


RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - magy77 - 2014-08-06

(2014-08-06, 05:37)Matt Devo Wrote:
(2014-08-06, 05:36)magy77 Wrote: From where did you know this? I didnt found some infos for 4.1.3

I'm looking at the commits to the 4.2 branch, which will be used for the next beta. Also following the bug tracker on freedesktop.org, where the fix has been tested and confirmed

Directlink? Thx


RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - Matt Devo - 2014-08-06

(2014-08-06, 06:04)magy77 Wrote: Directlink? Thx

https://bugs.freedesktop.org/show_bug.cgi?id=81447
https://github.com/OpenELEC/OpenELEC.tv/commit/b569a7860bd5c4a813338106cb0be5fdd8ede289
http://forum.xbmc.org/showthread.php?tid=165707&pid=1766386#pid1766386


RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - magy77 - 2014-08-06

Anybody knows a releasedate for 4.1.3.?


RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - DocG - 2014-08-06

(2014-08-05, 22:48)soundpwns909 Wrote: That's what I thought, and that's what has me confused, I stared at the inside of that box for hours last night trying to find the screw, but I can only find one screw that makes any sense, seems like its in the same place as the asus device, but I still get the error even after that screw is removed. Could it maybe be shorting itself even without the screw?

In case there should be any doubts...

Image

And yes, it does work for me.


Re: RE: Asus/HP ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.16 - 2014/07/29] - Matt Devo - 2014-08-06

(2014-08-06, 07:02)magy77 Wrote: Anybody knows a releasedate for 4.1.3.?

When it's ready