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) [v3.9 - 2015/01/23] - VanillaXtract - 2015-01-25

(2015-01-24, 05:40)Matt Devo Wrote: FYI, I added a proper legacy BIOS (SeaBIOS) for Haswell ChromeBook users, who can now safely use the dual boot features of the script. It's completely transparent, and I'd appreciate it if you could give it a test for me. Just run the script and choose the legacy BIOS update option (#4)
I gave it a test. Now when I boot OpenELEC with the HDMI connected. Unlike with the 01/07 bios, the chromebook screen still works. But the HDMI out doesn't work. Most of your older SeaBIOS worked for my chromebooks. Is there a way to see what version is installed? If so, I can tell you what version is on my C720 that has one of your custom bios and hdmi out works.

In the meantime, is there a way to restore the stock bios without a restore?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - VanillaXtract - 2015-01-25

I checked my C720, the script version that is on there is 2.2 and I believe the HDMI out used to work. Right now for some reason when I hit ctrl+l at startup it beeps twice and continues booting to ChromeOS.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - Matt Devo - 2015-01-25

(2015-01-25, 19:01)VanillaXtract Wrote: I gave it a test. Now when I boot OpenELEC with the HDMI connected. Unlike with the 01/07 bios, the chromebook screen still works. But the HDMI out doesn't work. Most of your older SeaBIOS worked for my chromebooks. Is there a way to see what version is installed? If so, I can tell you what version is on my C720 that has one of your custom bios and hdmi out works.

In the meantime, is there a way to restore the stock bios without a restore?

that doesn't make a whole lot of sense, since the VGA BIOS configuration is what affects the init of the built-in display and the enumeration of outputs. The early SeaBIOS versions (circa script version 2.2) used the stock one from the ChromeBox (and now do again), which is why I added the separate build for the ChromeBooks, which have a differently configured VGA BIOS.

you can see what version is installed by booting the legacy BIOS with a USB stick inserted, which should give you 5 sec to bring up the boot menu, after which you can read the date-stamped version string (the date is the last part).

you can restore the stock legacy BIOS by extracting it from the backup copy of the firmware on the system and re-flashing it:

Code:
sudo chromeos-firmwareupdate --sb_extract /tmp
sudo  flashrom -w /tmp/bios.bin -i RW_LEGACY

(2015-01-25, 19:12)VanillaXtract Wrote: I checked my C720, the script version that is on there is 2.2 and I believe the HDMI out used to work. Right now for some reason when I hit ctrl+l at startup it beeps twice and continues booting to ChromeOS.

either no valid legacy bios is loaded, or the flag to enable it isn't set. check:

Code:
sudo crossystem dev_boot_legacy

if it's 0, set it to 1

Code:
sudo crossystem dev_boot_legacy=1



RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - VanillaXtract - 2015-01-25

Legacy boot was set to 0. I set it to 1 and booted to legacy. I connected the HDMI and booted, the output was on the TV and I was able to disable the the built-in screen. Inserting a USB didn't slow the process down, but I took a video and got it that way. The date is 20140906. I want to say I had a working one with a later date than that, but I can't be sure.

EDIT: In fact, I know I had a later one because I used a script that installed Kodi shortly after it was finalized and the HDMI out worked as expected.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - Matt Devo - 2015-01-25

(2015-01-25, 20:51)VanillaXtract Wrote: Legacy boot was set to 0. I set it to 1 and booted to legacy. I connected the HDMI and booted, the output was on the TV and I was able to disable the the built-in screen. Inserting a USB didn't slow the process down, but I took a video and got it that way. The date is 20140906. I want to say I had a working one with a later date than that, but I can't be sure.

EDIT: In fact, I know I had a later one because I used a script that installed Kodi shortly after it was finalized and the HDMI out worked as expected.

20140906 is when I started using the modified VGA BIOS with the "headless" option; 20150107 is when I reverted to the stock configuration and made "headless" an option for the full coreboot firmware, but the legacy BIOS uses the stock VGA BIOS.

sent you a PM with a link to my testing script to try


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - JSieffert - 2015-01-26

I think I dug myself a hole I can't get out of... Confused

I attempted the OpenELEC/ChromeOS dual boot setup and ended up stuck at the "Booting from Hard Disk" issue I have read so much about. I ran the setup several times more with no luck.

At this point I should have jumped on here and asked some questions but I wanted to solve this on my own and didn't think I would ever use ChromeOS so I went ahead and tried the OpenELEC standalone setup.

After flashing the firmware and creating the OpenELEC installation USB stick I rebooted and was presented with the "ESC to boot from USB" prompt but the escape key didn't work and I ended up back at the "Boot from Hard Disk" message.

I rebooted hoping I would get the "ESC" prompt again but no luck I can only get to the "Boot from Hard Disk" message.

I can't seem to do anything at this point. I can only see the "Booting from..." message almost instantly after turning on the machine.

I think I bricked it. Sad Any suggestions would be greatly appreciated.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - Matt Devo - 2015-01-26

(2015-01-26, 05:43)JSieffert Wrote: I think I dug myself a hole I can't get out of... Confused

I attempted the OpenELEC/ChromeOS dual boot setup and ended up stuck at the "Booting from Hard Disk" issue I have read so much about. I ran the setup several times more with no luck.

$1 says you didn't do the factory reset beforehand.

Quote:At this point I should have jumped on here and asked some questions but I wanted to solve this on my own and didn't think I would ever use ChromeOS so I went ahead and tried the OpenELEC standalone setup.

After flashing the firmware and creating the OpenELEC installation USB stick I rebooted and was presented with the "ESC to boot from USB" prompt but the escape key didn't work and I ended up back at the "Boot from Hard Disk" message.

so try another keyboard, like the wiki suggests Smile

Quote:I rebooted hoping I would get the "ESC" prompt again but no luck I can only get to the "Boot from Hard Disk" message.

I can't seem to do anything at this point. I can only see the "Booting from..." message almost instantly after turning on the machine.

I think I bricked it. Sad Any suggestions would be greatly appreciated.

no, you just have a regular PC with no bootable OS installed.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - JSieffert - 2015-01-26

Thanks for responding so quickly!!

(2015-01-26, 05:47)Matt Devo Wrote: $1 says you didn't do the factory reset beforehand.

I did miss this step initially but I figured that out using this forum.

(2015-01-26, 05:47)Matt Devo Wrote: so try another keyboard, like the wiki suggests Smile

I had two keyboards plugged in and tried them both in the 5 seconds it gave me.

(2015-01-26, 05:47)Matt Devo Wrote: no, you just have a regular PC with no bootable OS installed.

Okay, cool.

Is there info on how to get it to boot from a USB stick and how to build a ChromeOS stick if it is different than a recovery stick built using the Google tool?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - Matt Devo - 2015-01-26

(2015-01-26, 06:00)JSieffert Wrote:
(2015-01-26, 05:47)Matt Devo Wrote: no, you just have a regular PC with no bootable OS installed.

Okay, cool.

Is there info on how to get it to boot from a USB stick and how to build a ChromeOS stick if it is different than a recovery stick built using the Google tool?

since you did a standalone setup, you can't reinstall ChromeOS unless you first re-flash your stock firmware (which you backed up during the standalone setup). If you want to do that, and then do a dual boot setup, there are instructions on the wiki to do so.

but since you already have the standalone setup, I'd just install OpenELEC like you planned. If you tried two different keyboards and neither worked, I'd be curious to know the model #s. And if you're not getting the 'press ESC' text at all, you should just create a fresh installer (info on wiki).

But either way, you need to boot from a USB stick and need a working keyboard to do that. Once you have that, either path should be straightforward.


Re: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - skeetz - 2015-01-26

(2015-01-26, 05:43)JSieffert Wrote: I think I dug myself a hole I can't get out of... Confused

I attempted the OpenELEC/ChromeOS dual boot setup and ended up stuck at the "Booting from Hard Disk" issue I have read so much about. I ran the setup several times more with no luck.

At this point I should have jumped on here and asked some questions but I wanted to solve this on my own and didn't think I would ever use ChromeOS so I went ahead and tried the OpenELEC standalone setup.

After flashing the firmware and creating the OpenELEC installation USB stick I rebooted and was presented with the "ESC to boot from USB" prompt but the escape key didn't work and I ended up back at the "Boot from Hard Disk" message.

I rebooted hoping I would get the "ESC" prompt again but no luck I can only get to the "Boot from Hard Disk" message.

I can't seem to do anything at this point. I can only see the "Booting from..." message almost instantly after turning on the machine.

I think I bricked it. Sad Any suggestions would be greatly appreciated.


Try another USB drive.
I had exactly the same experience as you. Initial 'ESC to boot from USB' but in my case I was late hitting ESC. And after that I was only getting 'Boot from Hard Disk' message. My keyboard was fine but the culprit was the USB thumb drive.. and it was a brand new recently bought 4gb drive. I had an 4yrs old 16gb OCZ USB drive so I downloaded the disk image from openelec's site onto it and lo and behold it finally showed the "ESC to boot from USB". So I suggest trying any other USB drive.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - sjskent - 2015-01-26

I have the HP box loaded with openelec in duel boot. I have a lot of lag/freezing when scrolling through my video library and was wondering if upgrading the ram to 8gig might help this? Any suggestions?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - Matt Devo - 2015-01-26

(2015-01-26, 18:06)sjskent Wrote: I have the HP box loaded with openelec in dual boot. I have a lot of lag/freezing when scrolling through my video library and was wondering if upgrading the ram to 8gig might help this? Any suggestions?

unlikely, since OE barely uses 1GB of ram, let alone the 2 you have installed. But this question is probably best handled in the general Kodi support forum since it's not ChromeBox specific (and there's likely already threads there discussing the issue).


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - sjskent - 2015-01-26

(2015-01-26, 18:43)Matt Devo Wrote:
(2015-01-26, 18:06)sjskent Wrote: I have the HP box loaded with openelec in dual boot. I have a lot of lag/freezing when scrolling through my video library and was wondering if upgrading the ram to 8gig might help this? Any suggestions?

unlikely, since OE barely uses 1GB of ram, let alone the 2 you have installed. But this question is probably best handled in the general Kodi support forum since it's not ChromeBox specific (and there's likely already threads there discussing the issue).

Thanks for the feedback Matt. Also, thanks for the script! Super easy to install. I did go ahead and add an 8gig stick. I have a large library and it was acting like it was slowing down with the more thumbs that were loading. It seems to be running much smoother now with the extended RAM. Movie thumbs are loading super fast and i can quickly scroll from the top of my library to the bottom with zero lag. If i see any more lag ill report it back.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - BigladUK - 2015-01-26

Did you only have 2gb before ?

Do you run a local database ( not an sql database )

Si


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.9 - 2015/01/23] - sjskent - 2015-01-26

(2015-01-26, 06:59)skeetz Wrote:
(2015-01-26, 05:43)JSieffert Wrote: I think I dug myself a hole I can't get out of... Confused

I attempted the OpenELEC/ChromeOS dual boot setup and ended up stuck at the "Booting from Hard Disk" issue I have read so much about. I ran the setup several times more with no luck.

At this point I should have jumped on here and asked some questions but I wanted to solve this on my own and didn't think I would ever use ChromeOS so I went ahead and tried the OpenELEC standalone setup.

After flashing the firmware and creating the OpenELEC installation USB stick I rebooted and was presented with the "ESC to boot from USB" prompt but the escape key didn't work and I ended up back at the "Boot from Hard Disk" message.

I rebooted hoping I would get the "ESC" prompt again but no luck I can only get to the "Boot from Hard Disk" message.

I can't seem to do anything at this point. I can only see the "Booting from..." message almost instantly after turning on the machine.

I think I bricked it. Sad Any suggestions would be greatly appreciated.


Try another USB drive.
I had exactly the same experience as you. Initial 'ESC to boot from USB' but in my case I was late hitting ESC. And after that I was only getting 'Boot from Hard Disk' message. My keyboard was fine but the culprit was the USB thumb drive.. and it was a brand new recently bought 4gb drive. I had an 4yrs old 16gb OCZ USB drive so I downloaded the disk image from openelec's site onto it and lo and behold it finally showed the "ESC to boot from USB". So I suggest trying any other USB drive.

I had to try 3 different USB drives for this. I had a PNY thumb drive that i was able to load the restore onto, but then failed to be recognized at the restore step. I tried a SD drive that was not recognized at all. Then i pulled the memory card out of my camera and it worked perfectly. It was very picky.