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.11 - 2014/06/20] - Matt Devo - 2014-06-26

(2014-06-26, 04:47)jsp1 Wrote: Matt, I'm just wondering...does the coreboot firmware have some sort of code restricting windows 7 from being installed? I'm looking at finding a stop-gap solution for the box until Intel devs get something out. I am getting far too many issues with crashing* and video freezes.

*Incidentally, what I once assumed was a hard crash is actually dropping out to the console (ctrl-alt-f2) and a ctrl-alt-f1 will pull openelec back up...still this is a very strange issue that I don't see anyone else reporting.

Anyway, while I appreciate the currently available setup...I'm left wondering why (seemingly) nobody is working toward a functional windows installation. Is it even probable in your opinion? With so many driver issues under linux it seems like a logical progression.

Windows 7 will likely never work due to firmware/BIOS requirements (ie, workarounds) that are not implemented in Coreboot. Windows 8 works fine, but does not output multi-channel (on the celeron model) audio over HDMI due to a driver limitation.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - jsp1 - 2014-06-26

(2014-06-26, 04:49)Matt Devo Wrote:
(2014-06-26, 04:47)jsp1 Wrote: Matt, I'm just wondering...does the coreboot firmware have some sort of code restricting windows 7 from being installed? I'm looking at finding a stop-gap solution for the box until Intel devs get something out. I am getting far too many issues with crashing* and video freezes.

*Incidentally, what I once assumed was a hard crash is actually dropping out to the console (ctrl-alt-f2) and a ctrl-alt-f1 will pull openelec back up...still this is a very strange issue that I don't see anyone else reporting.

Anyway, while I appreciate the currently available setup...I'm left wondering why (seemingly) nobody is working toward a functional windows installation. Is it even probable in your opinion? With so many driver issues under linux it seems like a logical progression.

Windows 7 will likely never work due to firmware/BIOS requirements (ie, workarounds) that are not implemented in Coreboot. Windows 8 works fine, but does not output multi-channel (on the celeron model) audio over HDMI due to a driver limitation.

Thank you for clarification. So, does it support multi-channel audio over hdmi on the i3?


Re: RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - Matt Devo - 2014-06-26

(2014-06-26, 04:59)jsp1 Wrote: Thank you for clarification. So, does it support multi-channel audio over hdmi on the i3?

That's what has been reported, on the Gigabyte Brix as well. Don't have a HDMI receiver here to test


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - jsp1 - 2014-06-26

Interesting. I wonder if the graphics driver would be an issue with xbmc run under crouton. Has anyone tried that out, care to report? I know I'm off topic so that will be my last post on the subject.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - daruler557 - 2014-06-26

(2014-06-26, 03:42)Matt Devo Wrote:
(2014-06-26, 01:57)daruler557 Wrote: Hello Matt,

I followed the instructions and everything seemed to work until I was trying to load Openelec from USB. It starts up and I hit ESC to enter the boot menu, then I select the USB drive and hit enter. The monitor then goes to inactive and turns off, leaving the chromebox running, but not doing anything.

Do you have any idea what I am doing wrong?

Chromebox M004U

sounds like there's an issue with your USB installation media. Can you try using another USB stick? Just download the latest OpenELEC, extract, and run their create installstick utility. For best results, make sure your USB device has a single FAT32 partition on it.

OE download: http://openelec.tv/get-openelec/download/viewdownload/8/353

Thanks Matt. I tried it again when I got home from work and it worked fine (hdmi). I was trying it with one of my extra monitors at work (displayport) and I think there was some issue with the cable/connection because when I tried it with HDMI it worked perfectly.

Thanks again!

(2014-06-26, 03:42)Matt Devo Wrote:
(2014-06-26, 01:57)daruler557 Wrote: Hello Matt,

I followed the instructions and everything seemed to work until I was trying to load Openelec from USB. It starts up and I hit ESC to enter the boot menu, then I select the USB drive and hit enter. The monitor then goes to inactive and turns off, leaving the chromebox running, but not doing anything.

Do you have any idea what I am doing wrong?

Chromebox M004U

sounds like there's an issue with your USB installation media. Can you try using another USB stick? Just download the latest OpenELEC, extract, and run their create installstick utility. For best results, make sure your USB device has a single FAT32 partition on it.

OE download: http://openelec.tv/get-openelec/download/viewdownload/8/353

Thanks Matt. I tried it again when I got home from work and it worked fine (hdmi). I was trying it with one of my extra monitors at work (displayport) and I think there was some issue with the cable/connection because when I tried it with HDMI it worked perfectly.

Thanks again!


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - HTeePeeSee - 2014-06-26

Matt, I followed the instructions I thought to the letter a few weeks ago, installing the standalone firmware followed by Openelec and then Ubuntu. For some reason XBMC will not output HDMI audio using any driver.

I thought maybe I would revert back to stock and try to load XBMC from there, but I can't.

When I boot now, my system appears to hang at a black screen for quite a while, but then proceeds to load up Ubuntu.

I can't for the life of me get it to stop booting and recognize a USB stick in the drive. Any advice on what I could do from within Ubuntu or otherwise to get back to stock?

I would mostly prefer to run OpenElec but again, no HDMI audio makes this useless for XBMC duties for me.

Thanks much for your great work and help.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - trick420 - 2014-06-26

(2014-06-26, 21:51)HTeePeeSee Wrote: Matt, I followed the instructions I thought to the letter a few weeks ago, installing the standalone firmware followed by Openelec and then Ubuntu. For some reason XBMC will not output HDMI audio using any driver.

I thought maybe I would revert back to stock and try to load XBMC from there, but I can't.

When I boot now, my system appears to hang at a black screen for quite a while, but then proceeds to load up Ubuntu.

I can't for the life of me get it to stop booting and recognize a USB stick in the drive. Any advice on what I could do from within Ubuntu?

Thanks much for your great work and help.

If you can't get it to offer the boot selection menu, then you likely have a bum USB drive. I had one that wouldn't be recognized and had a similar problem. I would suggest first going and getting a new drive and trying that.

Also, it would be worth your time to buy an inexpensive Displayport to HDMI cable - early on I had an issue where the BIOS menu would output to the Displayport but the GUI would output to the HDMI port. Matt has long since fixed this, but if you have some strange case going on here it may help you to recover.

Jeff


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - HTeePeeSee - 2014-06-26

(2014-06-26, 21:55)trick420 Wrote:
(2014-06-26, 21:51)HTeePeeSee Wrote: Matt, I followed the instructions I thought to the letter a few weeks ago, installing the standalone firmware followed by Openelec and then Ubuntu. For some reason XBMC will not output HDMI audio using any driver.

I thought maybe I would revert back to stock and try to load XBMC from there, but I can't.

When I boot now, my system appears to hang at a black screen for quite a while, but then proceeds to load up Ubuntu.

I can't for the life of me get it to stop booting and recognize a USB stick in the drive. Any advice on what I could do from within Ubuntu?

Thanks much for your great work and help.

If you can't get it to offer the boot selection menu, then you likely have a bum USB drive. I had one that wouldn't be recognized and had a similar problem. I would suggest first going and getting a new drive and trying that.

Also, it would be worth your time to buy an inexpensive Displayport to HDMI cable - early on I had an issue where the BIOS menu would output to the Displayport but the GUI would output to the HDMI port. Matt has long since fixed this, but if you have some strange case going on here it may help you to recover.

Jeff

Thanks, Jeff.

Actually, I just realized I could run Matt's script in Ubuntu terminal since it does in fact boot up. I tried to update coreboot using option 5 and get the following error message:

3Tfu5W: line 212: flashrom: command not found
An error occurred flashing the coreboot firmware, DO NOT REBOOT!

Did I goof? Should I in fact not reboot?


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

(2014-06-26, 21:59)HTeePeeSee Wrote: Actually, I just realized I could run Matt's script in Ubuntu terminal since it does in fact boot up. I tried to update coreboot using option 5 and get the following error message:

3Tfu5W: line 212: flashrom: command not found
An error occurred flashing the coreboot firmware, DO NOT REBOOT!

Did I goof? Should I in fact not reboot?

since your system doesn't have the necessary flashrom executable, nothing was written to the firmware chip, so everything is fine.

You need to run the script from either ChromeOS or ChromiumOS in order to update the firmware.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - HTeePeeSee - 2014-06-26

(2014-06-26, 22:03)Matt Devo Wrote:
(2014-06-26, 21:59)HTeePeeSee Wrote: Actually, I just realized I could run Matt's script in Ubuntu terminal since it does in fact boot up. I tried to update coreboot using option 5 and get the following error message:

3Tfu5W: line 212: flashrom: command not found
An error occurred flashing the coreboot firmware, DO NOT REBOOT!

Did I goof? Should I in fact not reboot?

since your system doesn't have the necessary flashrom executable, nothing was written to the firmware chip, so everything is fine.

You need to run the script from either ChromeOS or ChromiumOS in order to update the firmware.

OK. How can I reload when my USB stick isn't getting recognized? Should I just keep trying different sticks? I've tried three so far I believe.

When I reboot, I see nothing but a black screen until Ubuntu loads, whether USB sticks are inserted or not.


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

(2014-06-26, 22:04)HTeePeeSee Wrote: OK. How can I reload when my USB stick isn't getting recognized? Should I just keep trying different sticks? I've tried three so far I believe.

When I reboot, I see nothing but a black screen until Ubuntu loads, whether USB sticks are inserted or not.

how do you know if it's getting recognized or not if you can't see the boot menu? USB hasn't been the default boot for a little while now.

if you're not seeing the boot menu, you need to hit ESC, then 2 before Ubuntu loads to boot from USB. I'd hit ESC then 2 repeatedly until you get the timing correct


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - HTeePeeSee - 2014-06-26

(2014-06-26, 22:13)Matt Devo Wrote:
(2014-06-26, 22:04)HTeePeeSee Wrote: OK. How can I reload when my USB stick isn't getting recognized? Should I just keep trying different sticks? I've tried three so far I believe.

When I reboot, I see nothing but a black screen until Ubuntu loads, whether USB sticks are inserted or not.

how do you know if it's getting recognized or not if you can't see the boot menu? USB hasn't been the default boot for a little while now.

if you're not seeing the boot menu, you need to hit ESC, then 2 before Ubuntu loads to boot from USB. I'd hit ESC then 2 repeatedly until you get the timing correct

I keep trying that, doesn't seem to be working. This is going to sound silly, but do you know about how many seconds after power-on I should hit Esc, and then 2?

I ordered a DisplayPort to HDMI cable from Monoprice so maybe that will at least let me see a boot menu, but not today.

Thanks again Matt.

Edit: Jackpot! I got it to work this time. I had been mashing Esc then 2, and repeating Esc. Esc then 2, 2, 2, 2, did it.

Chromium OS booting up!


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

(2014-06-26, 22:17)HTeePeeSee Wrote: Edit: Jackpot! I got it to work this time. I had been mashing Esc then 2, and repeating Esc. Esc then 2, 2, 2, 2, did it.

Chromium OS booting up!

so now just download/run the script and install as before Smile


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - tarataqa - 2014-06-26

(2014-06-24, 05:11)Matt Devo Wrote:
(2014-06-24, 04:33)DocG Wrote:
(2014-06-23, 02:36)Matt Devo Wrote: seems like about 20% (number pulled straight from my butt) of people run into this issue with the OpenELEC dual boot option, and I've been unable to determine the cause. For almost all of them, performing a factory reset as described in section 1.3 of the wiki, followed by a full re-install of OpenELEC, seems to fix the issue. I have no idea what's different the 2nd time, or why a reset clears up the issue.

Seems like I'm one of the "20%". Sad Guess that'll all have to wait till tomorrow now.

so just do a factory reset and try again
I was one of the 20% too! Thanks for the advice and this awesome script. Worked like a charm. Now smoothly playing full 1080p blurays with DTS-MA on the celeron with Openelec. Never goes over 20% CPU.
It sure beats my old Asus ION.


RE: Asus ChromeBox EZ Setup (OpenELEC or Ubuntu+XMBC) [v2.11 - 2014/06/20] - HTeePeeSee - 2014-06-26

(2014-06-26, 22:20)Matt Devo Wrote:
(2014-06-26, 22:17)HTeePeeSee Wrote: Edit: Jackpot! I got it to work this time. I had been mashing Esc then 2, and repeating Esc. Esc then 2, 2, 2, 2, did it.

Chromium OS booting up!

so now just download/run the script and install as before Smile

Working on it, thanks Matt. I hit Ctrl-Alt-F2 to get to the command prompt while ChromiumOS is loading, but when I try to login I get:

localhost login:

When I type "chronos" and enter it asks for password, I hit enter, and get

Login Incorrect

Any ideas?

Edit: Google to the rescue. Apparently for the build of Chromium OS I downloaded, the username is 'chronos' and password is 'password'

Off I go again...