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: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-03-05

(2017-03-05, 02:40)GSA1 Wrote: Yes, thanks, Matt. I was using quotes around "git" to imply a (sic). Bad joke... I wasn't able to get Kodi through that command. But, instead, I figured out the process for updating your Full Rom script and installing Libre Elec. All is well. Assuming you are pushing the UEFI automatically with the update, I should be done. Now working on adding Chromium, Emby, and some addons I always had. Then I will repeat for the other box. THANKS SOOOO MUCH FOR ALL YOUR HELP THOUGH THE YEARS!!!

ok good deal Smile


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - smyrosnik - 2017-03-05

Hi, I have a question about booting.

I have setup my asus chromebox perfectly according to the guide (debian). My question is when the system boots up, it always shows the EFI shell , timeouts for 3 seconds and the proceeds to grub loader from debian to boot.
Is this normal? Or I can config it to load directly to grub?

In my /boot/efi directory I have a script called startup.nsh with contents
FS0:
\EFI\debian\grubx64.efi

(without this stays in EFI shell)

When executing efibootmgr I get the following:

BootCurrent: 0001
Timeout: 3 seconds
BootOrder: 0000,0001
Boot0000* EFI Hard Drive
Boot0001* EFI Internal Shell

Any thoughts to show directly grub instead of EFI shell?


Thank you.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-03-05

(2017-03-05, 16:15)smyrosnik Wrote: Hi, I have a question about booting.

I have setup my asus chromebox perfectly according to the guide (debian). My question is when the system boots up, it always shows the EFI shell , timeouts for 3 seconds and the proceeds to grub loader from debian to boot.
Is this normal? Or I can config it to load directly to grub?

Item #2 on my FAQ: https://mrchromebox.tech/#faq

TL;DR: copy /EFI/debian/grubx64.efi to /EFI/BOOT/BOOTX64.efi
(create BOOT dir if needed)


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - smyrosnik - 2017-03-05

I can't believe I missed the FAQ page! Bookmarked it. Thanks!


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Maximus1717 - 2017-03-06

Hello all,
My first post!
First off thanks to Matt and all developers providing such an awesome an easy software to get the most out of my chrome box.
I recently upgraded my TV to a Visio D50U-D1 and now I cannot get get my Asus m004u chromebox running dualboot latest libreelec build(LibreELEC-Generic.x86_64-8.0.0.tar) to connect. I am getting a no signal. When I use the same cable on another monitor it works flawlessly. Also when I plug in a different video source, that port works. I have alaso tried all other hdmi ports. I really don't know if I should take the TV back or if its libreelec.

I have tried the following:
-all known visio resets(holding power button for 30 seconds, ect)
- trying different power up options
I am not sure what to try next please helpAngel
Thanks!


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-03-06

(2017-03-06, 18:16)Maximus1717 Wrote: Hello all,
My first post!
First off thanks to Matt and all developers providing such an awesome an easy software to get the most out of my chrome box.
I recently upgraded my TV to a Visio D50U-D1 and now I cannot get get my Asus m004u chromebox running dualboot latest libreelec build(LibreELEC-Generic.x86_64-8.0.0.tar) to connect. I am getting a no signal. When I use the same cable on another monitor it works flawlessly. Also when I plug in a different video source, that port works. I have alaso tried all other hdmi ports. I really don't know if I should take the TV back or if its libreelec.

I have tried the following:
-all known visio resets(holding power button for 30 seconds, ect)
- trying different power up options
I am not sure what to try next please helpAngel
Thanks!

there's a known issue with many Vizio 4K sets where they report via EDID that they support 1080p at 120Hz (IIRC, but they don't) and so that's the mode the Chromebox is trying to use. I'm not sure how that works with a dual boot setup though, because in that case the video BIOS actually gets run twice, which may be problematic. In general, the firmware graphics driver in the UEFI standalone firmware is a bit better at handling newer/4K sets, but as I don't have one myself I haven't done any real testing.

If you're able to boot ChromeOS, then it's possible that using an autostart script to set the LibreELEC video mode to 1080p60 will suffice. If not, then I'd backup your LE userdata and give the UEFI firmware a try, see if it can boot the installer from USB at least.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - ArieS - 2017-03-07

Hello, I'm thinking about replacing my ODroid C2 with a ChromeBox. The C2 is fine but I like to use a heavy skin and it's pretty sluggish at it...

If I go with a Intel Celeron 2955U, can I add more RAM to it if the skin needs it?
Tried to look on Amazon for what kind of RAM is needed but couldn't find the exact model.

Can I leave the ChromeBox always on or does it need to be turned off when not in use. I'm sure it draws more power than the C2 but how much compared to a regular Desktop?

I'm using iRule for remote control (via Network) so wondering also if the ChromeBox can be started with WOL from S3, S4 like my Intel NUC.

Thanks.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-03-07

(2017-03-07, 01:44)ArieS Wrote: Hello, I'm thinking about replacing my ODroid C2 with a ChromeBox. The C2 is fine but I like to use a heavy skin and it's pretty sluggish at it...

If I go with a Intel Celeron 2955U, can I add more RAM to it if the skin needs it?
Tried to look on Amazon for what kind of RAM is needed but couldn't find the exact model.

Can I leave the ChromeBox always on or does it need to be turned off when not in use. I'm sure it draws more power than the C2 but how much compared to a regular Desktop?

I'm using iRule for remote control (via Network) so wondering also if the ChromeBox can be started with WOL from S3, S4 like my Intel NUC.

Thanks.

see the Chromebox wiki, linked in my sig -- 16GB DDR3L max (2x2GB will be plenty)

I leave mine on 24x7, it uses something like 3W at idle and < .5W when suspended.

WoL is supported for S3/S4 for Ethernet, but not wifi.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - ArieS - 2017-03-07

Thanks Matt!
Hopefully I'll be the winning bid on ebay Big Grin
In the meantime, I've got some reading to do on the Wiki I guess Smile


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - mjunk - 2017-03-08

So I finally pulled the trigger on the ASUS Chromebox today and followed the instructions on the front page but found that some of the menu items are not the same.

I want to install the standalone LibreELEC and of course the first thing I did was to remove the screw to disable the firmware protection. From there I was successful in entering developer mode and download the E-Z script. When the menu options come up I assume I start at step 6 under standalone however I get different options: the instructions show "6. Install/update: Custom coreboot firmware" however I get "6. Install/update: Custom UEFI firmware". So I select 6 only to get an error message saying hardware write-protect enabled and it cannot flash full ROM firmware. Odd since I'm staring at the screw I took out.

So I proceed to step 7 and download/installation of LibreELEC on USB was fine. However, I never got the boot options screen. When powering off and restarting it just goes to ChromeOS at the screen that says verification is off. My only option is to return to developer mode to download and run the script and I did that twice with the same results.

So what am I doing wrong? The screw is off and I don't understand that write-protect error. Am I following the right sequence for standalone? Should I try dual?

Thanks for any help.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-03-08

(2017-03-08, 04:10)mjunk Wrote: I want to install the standalone LibreELEC and of course the first thing I did was to remove the screw to disable the firmware protection. From there I was successful in entering developer mode and download the E-Z script. When the menu options come up I assume I start at step 6 under standalone however I get different options: the instructions show "6. Install/update: Custom coreboot firmware" however I get "6. Install/update: Custom UEFI firmware". So I select 6 only to get an error message saying hardware write-protect enabled and it cannot flash full ROM firmware. Odd since I'm staring at the screw I took out.

I'll update the instructions/screenshot at some point, but the functionality is the same.

If the script is telling you that write protect is still enabled, then it's still enabled. As per the wiki instructions:

Quote:On some boxes (this is rare, but seems to be most common on the Dells), even after removing the write-protect screw, there is still connectivity between the two semi-circles, in which case you may need to use a small flathead screwdriver (eg) to lightly scrape away the excess material which is causing continuity. You can verify with a DMM.

sometimes the connectivity is on the inner part of the screw hole, so check that too. And double check you removed the correct screw.

Quote:So I proceed to step 7 and download/installation of LibreELEC on USB was fine. However, I never got the boot options screen. When powering off and restarting it just goes to ChromeOS at the screen that says verification is off. My only option is to return to developer mode to download and run the script and I did that twice with the same results.

So what am I doing wrong? The screw is off and I don't understand that write-protect error. Am I following the right sequence for standalone? Should

of course it's still rebooting to ChromeOS -- you never installed the custom firmware, due to the write protect still being enabled. Fix the WP, then flash the firmware, then boot from USB and install LibreELEC


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - mjunk - 2017-03-08

(2017-03-08, 05:48)Matt Devo Wrote:
Quote:On some boxes (this is rare, but seems to be most common on the Dells), even after removing the write-protect screw, there is still connectivity between the two semi-circles, in which case you may need to use a small flathead screwdriver (eg) to lightly scrape away the excess material which is causing continuity. You can verify with a DMM.

sometimes the connectivity is on the inner part of the screw hole, so check that too. And double check you removed the correct screw.


of course it's still rebooting to ChromeOS -- you never installed the custom firmware, due to the write protect still being enabled. Fix the WP, then flash the firmware, then boot from USB and install LibreELEC

Thank you so much Matt.

I knew about that wiki quote but I thought that applied only to Dell's. I'll check it again and make sure the right screw was removed. (I thought I saw only one.)

Just to confirm I do start at step 6 right?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2017-03-08

(2017-03-08, 06:09)mjunk Wrote: Thank you so much Matt.

I knew about that wiki quote but I thought that applied only to Dell's. I'll check it again and make sure the right screw was removed. (I thought I saw only one.)

Just to confirm I do start at step 6 right?

yes, start with the firmware flash (menu option 6), then boot/install LibreELEC and you should be set


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - mjunk - 2017-03-08

(2017-03-08, 06:29)Matt Devo Wrote:
(2017-03-08, 06:09)mjunk Wrote: Thank you so much Matt.

I knew about that wiki quote but I thought that applied only to Dell's. I'll check it again and make sure the right screw was removed. (I thought I saw only one.)

Just to confirm I do start at step 6 right?

yes, start with the firmware flash (menu option 6), then boot/install LibreELEC and you should be set

Thanks. I decided to install dual boot Chrome OS/LibreELEC and followed all the steps including creating a recovery USB. Long story short, I now get "Press ESC for boot menu" and when I do nothing happens. Nest message that comes up is Booting from Hard Disk and Missing OS. This happens even when I insert the recovery USB. I hope I didn't brick it.

Any suggestions how I can back to do a fresh start?

Edit: here's what I get starting in various modes:
- Turn on normally with no USB: goes to recovery mode for a second then straight to the boot from hard drive screen with "press to escape for boot menu" (which does nothing) then to a blank dark screen

- Turn on using recovery button: goes to the recovery screen. Text at top left-hand corner says I have Google_Panther firmware id. Insert my recovery USB and system recovery performs successfully. Remove USB when done to restart, end up at the same result as above-booting from hard drive and blank screen.

- As a final resort, downloaded LibreELEC USB creator, inserted and restarted normally with the USB in: same as above.

It seems that the only option is to boot from the hard drive. I cannot run the E-Z setup script so I'm at a dead-end now.

Thanks

Edit 2: I managed to get into developer mode by pressing Ctrl-D earlier. This is in the wiki and it worked. I have now got it working booting straight to LibreELEC. Will continue to test it out tonight to see if I can boot into ChromeOS. Thanks for your guidance Matt!


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Wasse - 2017-03-09

I'm running Ubuntu Server 16.04.... Everything works perfectly (after setting up the correct EFI Boot from the FAQ)

BUT, the Server doesn't won't boot, UNLESS I have some kind of Video Output connected. If I have HDMI/DP connected, it will boot fine. But if I don't... It won't boot.

If I try to connect an HDMI cable to it after it's already tried it's booting, it will flicker a "Graphics Console Started" on the screen off and on, but still won't boot the server.

Any ideas?