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 ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - uomiarz - 2014-05-19

@matt
Currently running xbuntu standalone I can:

1)Boot to ChromiumOS from usb
2)Use your script just to update bios to coreboot version.
3)Reboot back to xbuntu

Are these assumptions correct?
thx


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-19

(2014-05-19, 19:42)uomiarz Wrote: @matt
Currently running xbuntu standalone I can:

1)Boot to ChromiumOS from usb
2)Use your script just to update bios to coreboot version.
3)Reboot back to xbuntu

Are these assumptions correct?
thx

that is 100% correct for any standalone setup


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - jsp1 - 2014-05-19

(2014-05-19, 18:51)Matt Devo Wrote: OP updated with v1.1 of script.

Includes option to flash custom Coreboot firmware for faster boot times and improved compatibility for all standalone setups.

Great work Matt, I love my Chromebox more and more every day thanks to your efforts. Thank you for being so generous!


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - NxtGenCowboy - 2014-05-19

Thank you for sharing.


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - jpman - 2014-05-20

I am having problems dual-booting OpenELEC, similar to the problems that AdamXBMC is having. When installed, it just goes to "booting from hard disk". However, I have installed Ubuntu and it seems to boot. So I'm not sure what the problem is.


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - loki131 - 2014-05-20

Hi Matt,

I just updated my firmware and now have a working Chromium USB stick (YAY!) but I do have a couple of questions.

1. Now that my box boots stupidly fast how do I get to the boot menu? I can't seem to hit esc fast enough and I don't seem to have the 5 second delay with my USB drive connected...
2. There is an update to OpenELEC, should I be taking updates from them or waiting for a specific build you recommend?

As a side note I know next to nothing about Linux and aside from not being able to make a backup of ChromeOS (moot now), everything has gone smoother than any install I've done on Windows! Thanks for your hard work!!!


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Searlan - 2014-05-20

(2014-05-19, 19:48)Matt Devo Wrote:
(2014-05-19, 19:42)uomiarz Wrote: @matt
Currently running xbuntu standalone I can:

1)Boot to ChromiumOS from usb
2)Use your script just to update bios to coreboot version.
3)Reboot back to xbuntu

Are these assumptions correct?
thx

that is 100% correct for any standalone setup

I also have xubuntu currently installed. This means I can update the bios without reinstalling xubuntu, right?

I'm also wondering if this firmware fixes the idle 60% cpu utilization on a single core. htop and the gnome system monitor report high utilization.

Thanks!


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-20

(2014-05-20, 00:29)jpman Wrote: I am having problems dual-booting OpenELEC, similar to the problems that AdamXBMC is having. When installed, it just goes to "booting from hard disk". However, I have installed Ubuntu and it seems to boot. So I'm not sure what the problem is.

when you installed OE in dual boot, had you installed Ubuntu in a dual-boot config before? If so, you need to do a factory reset before installing OE in a dual boot setup.

(2014-05-20, 18:40)loki131 Wrote: Hi Matt,

I just updated my firmware and now have a working Chromium USB stick (YAY!) but I do have a couple of questions.

1. Now that my box boots stupidly fast how do I get to the boot menu? I can't seem to hit esc fast enough and I don't seem to have the 5 second delay with my USB drive connected...
2. There is an update to OpenELEC, should I be taking updates from them or waiting for a specific build you recommend?

As a side note I know next to nothing about Linux and aside from not being able to make a backup of ChromeOS (moot now), everything has gone smoother than any install I've done on Windows! Thanks for your hard work!!!

1) there seems to be some weirdness with Chromium and USB3 sticks. If I boot to Chromium with a USB3 stick and power off or reboot, that USB stick won't be recognized the next time I boot (so no boot menu). But if I boot to the internal HDD (OpenELEC) and reboot, then the USB3 stick is detected and have 5s to bring up the boot menu. USB2 sticks seem to not have this issue.

2) with the Coreboot firmware, you don't need any specific builds anymore. You can even install OE using their standard Generic x86_64 download. So go ahead and set OE to auto-update and don't worry.

(2014-05-20, 19:15)Searlan Wrote: I also have xubuntu currently installed. This means I can update the bios without reinstalling xubuntu, right?

I'm also wondering if this firmware fixes the idle 60% cpu utilization on a single core. htop and the gnome system monitor report high utilization.

Thanks!

yes, just boot to Chromium via USB stock and update the firmware from there. Pretty sure the CPU utilization issue is kernel-related and not hardware/firmware-related, but LMK what you see.


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - MrCrispy - 2014-05-20

Is ChromiumOS identical to ChromeOS? Will the special offers (like Google drive 100GB) still work in it (I'm assuming yes since they are tied to Google account). And when I boot ChromiumOS from usb stick, does it still use the internal SSD? Or do all the apps etc I install go on the usb drive?


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-20

(2014-05-20, 23:25)MrCrispy Wrote: Is ChromiumOS identical to ChromeOS? Will the special offers (like Google drive 100GB) still work in it (I'm assuming yes since they are tied to Google account). And when I boot ChromiumOS from usb stick, does it still use the internal SSD? Or do all the apps etc I install go on the usb drive?

yes. the 100GB is linked to your Google account, so as long as you've redeemed it, it's on your account.

booting Chromium from a USB stick doesn't touch the internal HDD, that's the whole point


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - MrCrispy - 2014-05-20

Thanks Matt, so let me see if I get this right - I buy Chromebox, sign in and redeem special offers. Then I do device prep, take backup of existing chromeos (even though it won't run later), install Coreboot, and then the entire SSD is devoted to OpenElec/Linux, and for dual booting I use a ChromiumOS usb.

What are the disadvantages to not installing Coreboot and continue to dualboot ChromeOS and OpenElec off the SSD? Besides a slower boot time. Or put another way, are there any disadvantages to using Chromium vs Chrome? As you can tell I'd also like to use the box as a computer.


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-21

(2014-05-20, 23:53)MrCrispy Wrote: Thanks Matt, so let me see if I get this right - I buy Chromebox, sign in and redeem special offers. Then I do device prep, take backup of existing chromeos (even though it won't run later), install Coreboot, and then the entire SSD is devoted to OpenElec/Linux, and for dual booting I use a ChromiumOS usb.

What are the disadvantages to not installing Coreboot and continue to dualboot ChromeOS and OpenElec off the SSD? Besides a slower boot time. Or put another way, are there any disadvantages to using Chromium vs Chrome? As you can tell I'd also like to use the box as a computer.

I'm not sure there is any advantage to either approach, dual booting or dedicated + Chromium USB. It really depends on your specific use cases. The stock firmware is based on a very old version of coreboot, so in theory mine should be "better," but will take some time to be able to quantify that.

Either way, I'd probably skip the ChromeOS USB backup. Chromium makes it redundant, and it seems to fail+reboot half the time anyway. I'll probably update the script to remove that option and streamline it to just the 2 dual boot setups + a generic standalone option.

If you go the standalone route, all you need to do is flash the Coreboot firmware and reboot, with your USB installer ready. The device prep steps are only needed for the stock firmware. Another thing I will simplify in the next version of the script.


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Searlan - 2014-05-21

(2014-05-20, 21:10)Matt Devo Wrote: yes, just boot to Chromium via USB stock and update the firmware from there. Pretty sure the CPU utilization issue is kernel-related and not hardware/firmware-related, but LMK what you see.
I successfully updated to the Coreboot firmware and the CPU Utilization issue is gone!!! htop and gnome system monitor now reports near 0% utilization on idle for both cores. This also fixed a USB 3.0 issue I was having as well. Thank Matt for your awesome work!


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - Matt Devo - 2014-05-21

(2014-05-21, 03:14)Searlan Wrote: I successfully updated to the Coreboot firmware and the CPU Utilization issue is gone!!! htop and gnome system monitor now reports near 0% utilization on idle for both cores. This also fixed a USB 3.0 issue I was having as well. Thank Matt for your awesome work!

guess it is at least a stock firmware bug then . Glad we have a fix, thanks for letting us know


RE: Asus ChomeBox EZ Setup (OpenELEC or Ubuntu+XMBC) - uomiarz - 2014-05-21

(2014-05-21, 03:20)Matt Devo Wrote:
(2014-05-21, 03:14)Searlan Wrote: I successfully updated to the Coreboot firmware and the CPU Utilization issue is gone!!! htop and gnome system monitor now reports near 0% utilization on idle for both cores. This also fixed a USB 3.0 issue I was having as well. Thank Matt for your awesome work!

guess it is at least a stock firmware bug then . Glad we have a fix, thanks for letting us know

+1
I can confirm that high CPU utilization is gone after updating BIOS to Coreboot version.
Xbuntu with 3.15rc2 kernel. Before Coreboot utilization on idle system was around 60% on one of the cores.
BIOS updated to Coreboot (with ChromiumOS). System reboot and utlization is around 2%

Where is donation button ? Smile
Thx Matt !!!