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/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - Matt Devo - 2015-11-03

(2015-11-03, 00:27)Karnis Wrote: Hi Matt:
Updating to OE 6/ Kodi 15.2, I noticed when I play 24p material, when I press the O key, the audio delay is displayed as -.175 even though in the OSD audio menu it's set to zero. When I play 60p material it's all zeros.

Audio seems to be in-sync with both sources. As a former Kodi--Windows user, that delay value seems familiar. :-)

I never really noticed this before, is this correct? Thanks.

175ms has been the default delay for 24p content over HDMI for some time, though I'm not sure if the way it's displayed on the codec info overlay has changed with Kodi 15 or OE6


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - Karnis - 2015-11-03

(2015-11-03, 00:45)Matt Devo Wrote:
(2015-11-03, 00:27)Karnis Wrote: Hi Matt:
Updating to OE 6/ Kodi 15.2, I noticed when I play 24p material, when I press the O key, the audio delay is displayed as -.175 even though in the OSD audio menu it's set to zero. When I play 60p material it's all zeros.

Audio seems to be in-sync with both sources. As a former Kodi--Windows user, that delay value seems familiar. :-)

I never really noticed this before, is this correct? Thanks.

175ms has been the default delay for 24p content over HDMI for some time, though I'm not sure if the way it's displayed on the codec info overlay has changed with Kodi 15 or OE6

Thanks Matt. I only asked because in the Windows & Android versions it's displayed as 0.00, so I raised an eyebrow. Cool


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - rodalpho - 2015-11-03

(2015-11-02, 15:21)fritsch Wrote: Don't ever turn off acpi ... not matter what happens. This will crash / burn your device and if you are unlucky one cpu will be left when run in that mode. modern system don't work without ACPI at all.
Based upon your very strongly worded warning, I removed acpi=off and installed 4.3 mainline, which works fine. Got two CPUs again. Pain in the butt.

Acpi=off seemed to be working fine, temps were not a problem, but you're right in that I only showed 1 CPU active. I added it to the wiki, do you think it should be removed?

For any lurkers, remove acpi=off from /etc/defaults/grub then:
Code:
mkdir /tmp/kern
cd /tmp/kern
wget http://kernel.ubuntu.com/%7Ekernel-ppa/mainline/v4.3-wily/linux-headers-4.3.0-040300_4.3.0-040300.201511020949_all.deb
wget http://kernel.ubuntu.com/%7Ekernel-ppa/mainline/v4.3-wily/linux-headers-4.3.0-040300-generic_4.3.0-040300.201511020949_amd64.deb
wget http://kernel.ubuntu.com/%7Ekernel-ppa/mainline/v4.3-wily/linux-image-4.3.0-040300-generic_4.3.0-040300.201511020949_amd64.deb
dpkg -i *.deb    
update-grub
4.3 isn't technically out yet, so as future releases come out check for the newest file in those URLs. Or just stick with 3.19, which I think is probably the smarter way to go.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - McButton - 2015-11-03

I'm currently using a Asus Chromebox and OpenElec 5.0.8. I usually have 2x 2TB my passport hard drives (usb powered) plugged in, and everything boots fine.
I recently swapped out for a 6TB MyBook (outlet powered), and the Chromebox freezes at the boot menu. It's RIGHT before it asks to hit ESC for boot list. Just a black screen with the info line at the top (SeaBIOS (version 20140405_201740-john-lewis.) . If I reset the box, it works fine. If I reset the box 100 other times, it's fine. However, if I wait for 2 minutes and boot back up, it freezes. It's almost like it's trying to load the box, but it hasn't woken up yet.

So, how would I remedy this? I tried to set boot priority, but it already defaults and only shows the internal Chromebox. Is there a way to disable to Bios PreBoot authentication? Is there an updated BIOS that fixes this?

Or, am I just way off?

**I also did notice that the Chromebox sometimes randomly mounts and dismounts the hard drive as well. Related issue? If not, suggestions?

Thanks a ton!
---------------------------------------------------------
I just tested this with a SUSPEND (keeping the box kinda live), and it still froze on boot.
**I also tried different cables..and a much longer one to maybe delay the boot a tiny bit. All freezes.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - Matt Devo - 2015-11-03

(2015-11-03, 04:26)McButton Wrote: I'm currently using a Asus Chromebox and OpenElec 5.0.8. I usually have 2x 2TB my passport hard drives (usb powered) plugged in, and everything boots fine.
I recently swapped out for a 6TB MyBook (outlet powered), and the Chromebox freezes at the boot menu. It's RIGHT before it asks to hit ESC for boot list. Just a black screen with the info line at the top (SeaBIOS (version 20140405_201740-john-lewis.) . If I reset the box, it works fine. If I reset the box 100 other times, it's fine. However, if I wait for 2 minutes and boot back up, it freezes. It's almost like it's trying to load the box, but it hasn't woken up yet.

So, how would I remedy this? I tried to set boot priority, but it already defaults and only shows the internal Chromebox. Is there a way to disable to Bios PreBoot authentication? Is there an updated BIOS that fixes this?

Or, am I just way off?

**I also did notice that the Chromebox sometimes randomly mounts and dismounts the hard drive as well. Related issue? If not, suggestions?

Thanks a ton!
---------------------------------------------------------
I just tested this with a SUSPEND (keeping the box kinda live), and it still froze on boot.
**I also tried different cables..and a much longer one to maybe delay the boot a tiny bit. All freezes.

unfortunately, I really can't provide support for what are potentially firmware-related issues when you're using someone else's custom firmware. If you upgrade to mine (which is 1.5yrs newer than the one you are running) then I can try to help, but there's not much that either John Lewis or I can do if your drive takes longer to respond to initialization on cold boot than the USB spec says it should.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - Roby77 - 2015-11-03

If Matt devo firmware doesn't solve your problem or if you don't want to buy a nas, you can connect to your router usb port or to your lan using a product like this http://www.addonics.com/products/nasu2.php


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - McButton - 2015-11-03

I have a NAS, but it just doesn't always stream perfect. Plugging in works amazing. My NAS is for backup or other devices.
My router has a USB port as well, but it's pretty terrible to stream from my Zoom. I also just got something like the NAS adapter. It's got 3x usb 3.0 ports on the top too. Works great on my laptop with no ethernet port. $20 on Amazon.

Matt, how do I upgrade the firmware? I thought it was all the same. It's what I initially started with when this thread started. Thanks for the reply on the OE chat as well..You're everywhere, dude!

Thanks for all the help.

**Side note, I did find a workaround... I plugged a USB hub into the hard drive and plugged that into the Chromebox. It works flawlessly. I just don't like the extra swag hanging off of it though. Weird, huh?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - Matt Devo - 2015-11-03

(2015-11-03, 07:49)McButton Wrote: I have a NAS, but it just doesn't always stream perfect. Plugging in works amazing. My NAS is for backup or other devices.
My router has a USB port as well, but it's pretty terrible to stream from my Zoom.

Matt, how do I upgrade the firmware? I thought it was all the same. It's what I initially started with when this thread started. Thanks for the reply on the OE chat as well..You're everywhere, dude!

Thanks for all the help.

**Side note, I did find a workaround... I plugged a USB hub into the hard drive and plugged that into the Chromebox. It works flawlessly. I just don't like the extra swag hanging off of it though.

boot any old Linux Live USB stick (Ubuntu 15.04 works fine; 15.10 has issues). open a terminal window. run the EZ Setup Script as per the instructions in the first post. Choose the option to install/update the coreboot firmware. Follow the prompts, when in doubt for a Y/N just hit enter to accept the default (the capital one). Choose power off option from script. Retry the HDD without the hub.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - McButton - 2015-11-03

Great! I just found the instructions on page 1 as I closed my post. Will try and report back. Not sure what you mean by using a Linux stick. I'll try to figure it out.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - Matt Devo - 2015-11-03

(2015-11-03, 07:57)McButton Wrote: Great! I just found the instructions on page 1 as I closed my post. Will try and report back. Not sure what you mean by using a Linux stick. I'll try to figure it out.

since you already have OpenELEC setup, you can't run the script from inside it - you have to boot another OS and run it there. The easiest way to do that is to boot a Ubuntu installer and select the 'Try Ubuntu' option, which will boot up in a "live" session


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - McButton - 2015-11-03

Dang. Complicated stuff. I...shall attempt that and hope I don't destroy things.
--------------------------------------------------
How do I boot? I read the guide, but apparently I don't know what I'm doing. I downloaded 15.04 and put on a USB. It's an ISO file...is that correct? It's all I could find.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - Matt Devo - 2015-11-03

(2015-11-03, 08:11)McButton Wrote: Dang. Complicated stuff. I...shall attempt that and hope I don't destroy things.
--------------------------------------------------
How do I boot? I read the guide, but apparently I don't know what I'm doing. I downloaded 15.04 and put on a USB. It's an ISO file...is that correct? It's all I could find.

you need to properly write the ISO (which is a type of disk image) onto the USB, not just copy it. If you're on Windows, I recommend using Rufus - just select the ISO image and USB drive to be written, and it will take care of the rest


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - Manic D - 2015-11-03

Does anyone use the ProjectM visualizer with the custom Intel/EGL build? I'm getting an error message:

Add-on couldn't be loaded.
An unknown error occured.
Can't load Dll

Was working with 5.95.5, but not after I updated to this version.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - Lambada123 - 2015-11-03

Hello Matt, the issue that the Firmware Updates are not working with openelec 3.2.4 are still there... Firmware on my Box 20151015

here are an new kernel log:
http://sprunge.us/LRfF

Code:
Last login: Mon Nov  2 10:06:52 on ttys000
AKFs-MacPro:~ Massaguana$ ssh [email protected]
[email protected]'s password:
##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################

OpenELEC (unofficial) Version: 3.2.4
OpenELEC:~ # curl -L -O https://goo.gl/SoCQtG
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   263    0   263    0     0   1220      0 --:--:-- --:--:-- --:--:--  1223
100  6341  100  6341    0     0  11713      0 --:--:-- --:--:-- --:--:-- 11713
OpenELEC:~ # bash SoCQtG

ChromeBox Firmware Updater v1.4
(c) Matt DeVillier <[email protected]>
**************************************************

!! WARNING !!
This firmware is only valid for Haswell-based Asus/HP/Acer/Dell
ChromeBoxes with Celeron 2955U/2957U, Core i3-4010U/4030U, Core i7-4600U CPUs
which are already running my custom coreboot firmware.
Use on any other device will almost certainly brick it.

Do you wish to continue? [y/N] y

Checking if update available...

You already have the latest firmware (20151015)

Would you like to install anyway? [y/N] y

Install "headless" firmware? This is only needed for servers
running without a connected display. [y/N] y

Default to booting from any connected USB device? If N, always boot from the internal SSD unless selected from boot menu. [y/N] y

Add PXE network booting capability? (This is not needed for by most users) [y/N] n

Downloading flashrom utility

Downloading cbfstool utility

Reading current firmware
Failure reading current firmware; cannot proceed.


regards
Massaguana


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/02] - McButton - 2015-11-03

Hey! Got it. Getting the ISO to transfer was a bit odd, but it worked. I ran into some snags, but as long as you follow the prompts, it's easy...OH, and make sure the wifi is connected once you hit Ubuntu.
Anyway, I updated the firmware, and the box is bypassed at startup like it should be, and it mounts without a bunch of mount/dismount notices. Well done! Thanks for all the help. This was driving me nuts!