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.14 - 2015/03/17] - UdoG - 2015-03-18

(2015-03-18, 16:30)Matt Devo Wrote: this has nothing to do with the script, but I'm in a generous mode today.
It's telling you exactly what the issue is - gbb.flags is nonzero, and one of the flags that is set is preventing you from disabling developer mode. Use the script to reset the boot options to the default (which sets gbb.flags to zero), reboot, and you should be able to return to normal/verified boot mode.

YES - thanks a lot. This was my problem! After reset the boot options I was able to disabling the developer mode.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.14 - 2015/03/17] - Matt Devo - 2015-03-18

(2015-03-18, 16:38)danfloss Wrote:
(2015-03-18, 05:54)Matt Devo Wrote: script update 03/17/2015:

- update OpenELEC to 5.0.6 (stable, Kodi 14.2)
- added script function to create standalone Kodibuntu install media, using HugeGreenBug's updated Kodibuntu ISO (contains all required kernel/driver updates/fixes)


Note: no firmware-related changes; SeaBIOS datestamps remain 02/26/2015


wonder will this fix the high CPU usage i was having previously with Kodibuntu

if you didn't update the kernel post install (as described in the wiki instructions), then that's your issue. This customized ISO includes an updated kernel so you don't have to worry about it post install


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.14 - 2015/03/17] - igjunk - 2015-03-20

(2015-03-18, 17:47)Matt Devo Wrote:
(2015-03-18, 16:38)danfloss Wrote:
(2015-03-18, 05:54)Matt Devo Wrote: script update 03/17/2015:

- update OpenELEC to 5.0.6 (stable, Kodi 14.2)
- added script function to create standalone Kodibuntu install media, using HugeGreenBug's updated Kodibuntu ISO (contains all required kernel/driver updates/fixes)


Note: no firmware-related changes; SeaBIOS datestamps remain 02/26/2015


wonder will this fix the high CPU usage i was having previously with Kodibuntu

if you didn't update the kernel post install (as described in the wiki instructions), then that's your issue. This customized ISO includes an updated kernel so you don't have to worry about it post install

Actually, I've noticed that with OpenELEC 5.0.6, I see one of the CPUs hover around 30-40% at Idle. This wasn't the case before (at least not in 4.x.x)....


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.14 - 2015/03/17] - Rzero0101 - 2015-03-20

Thanks for all the work you've put into this Matt Devo and other devs . I've used your script to make several OE htpcs for myself and friends. The last couple I've made seem to have really slow wifi. Is there anyway I can boost power to the wifi antenna within Openelec or through advanced configurations? It's slow enough that I can't stream video over wifi. Any ideas would be greatly appreciated.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Matt Devo - 2015-03-20

(2015-03-20, 04:55)igjunk Wrote: Actually, I've noticed that with OpenELEC 5.0.6, I see one of the CPUs hover around 30-40% at Idle. This wasn't the case before (at least not in 4.x.x)....

doesn't here, might be an add-on, or RSS feed, or something else...

(2015-03-20, 05:27)Rzero0101 Wrote: Thanks for all the work you've put into this Matt Devo and other devs . I've used your script to make several OE htpcs for myself and friends. The last couple I've made seem to have really slow wifi. Is there anyway I can boost power to the wifi antenna within Openelec or through advanced configurations? It's slow enough that I can't stream video over wifi. Any ideas would be greatly appreciated.

not that I'm aware of, and I can't reproduce any slowness here. Tested both 2.4GHz and 5Ghz, both gave speeds above 50Mbit/s


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Matt Devo - 2015-03-20

script update 03/19/2015:

- added fixed Legacy BIOS (SeaBIOS) update for Broadwell-based Acer C740 ChromeBook


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Soli - 2015-03-21

Matt: Is it possible with a standalone bios that boots automatically from usb? It sounds logical to me that usb should have preference.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Matt Devo - 2015-03-21

(2015-03-21, 01:09)Soli Wrote: Matt: Is it possible with a standalone bios that boots automatically from usb? It sounds logical to me that usb should have preference.

there's a way to change the boot order/priority, but requires re-flashing the firmware - there's no way to change it dynamically. In terms of the default, setting it to USB would be problematic for anyone who keeps an external USB HDD connected, so I've set it to the internal HDD.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Soli - 2015-03-21

But wouldnt it just skip the external usb drive if the external drive isnt bootable? That whats normal pc do.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Matt Devo - 2015-03-21

(2015-03-21, 01:36)Soli Wrote: But wouldnt it just skip the external usb drive if the external drive isnt bootable? That whats normal pc do.

depends on if the external drive has any partitions marked as bootable (regardless if a valid bootloader is installed).

I'm not particularly invested either way, but it strikes me as logical that if you want the box to boot from something other than the default (internal ssd), then you need to manually take steps for it to do so. And since you already need to connect the USB stick/HDD that you want to boot, I don't see the hassle of selecting it from the boot menu after powering on


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Soli - 2015-03-21

(2015-03-21, 01:50)Matt Devo Wrote:
(2015-03-21, 01:36)Soli Wrote: But wouldnt it just skip the external usb drive if the external drive isnt bootable? That whats normal pc do.

depends on if the external drive has any partitions marked as bootable (regardless if a valid bootloader is installed).

I'm not particularly invested either way, but it strikes me as logical that if you want the box to boot from something other than the default (internal ssd), then you need to manually take steps for it to do so. And since you already need to connect the USB stick/HDD that you want to boot, I don't see the hassle of selecting it from the boot menu after powering on

Yes, that what I thought. If the MBR doesnt say it's bootable, then the BIOS will simply skip it.
But I disagree that the internal ssd should be prioritized. If I insert a bootable usb stick into my chromebox, then I obviously want to boot from it. I don't want to connect a keyboard and hit ESC, downarrow, enter. I think all of us that are even flashing your bios are well enough versed with computers that we dont "accidentally" use a bootable MBR on our external drives. I normally dont have a keyboard connected (except I do, but the Logitech K40x doesnt at that early stage). This would make it more intuitive to boot a live Linux distro, or OE from a USB stick without the hassle of connectiong a corded keyboard.

Anyways, my suggestion would that you include an option in your script to flash an alternative bios that automatically boots from USB. That would be great for those of us who like living on the edge.. Wink


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Matt Devo - 2015-03-21

(2015-03-21, 03:36)Soli Wrote: If I insert a bootable usb stick into my chromebox, then I obviously want to boot from it. I don't want to connect a keyboard and hit ESC, downarrow, enter. I think all of us that are even flashing your bios are well enough versed with computers that we dont "accidentally" use a bootable MBR on our external drives.

I completely disagree here, on both counts.

Quote:Anyways, my suggestion would that you include an option in your script to flash an alternative bios that automatically boots from USB. That would be great for those of us who like living on the edge.. Wink

I had considered that, but I really don't want to have to maintain multiple versions just to satisfy every permutation people want. maybe I'll make it a flash-time option, since I can do that via the script after download but before it's flashed. But my motivation to do that is low =P


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - grabner - 2015-03-21

Hi Matt,

I was trying to setup a standalone openelec system, and I ran into some issues when trying to boot from the OE install stick.

The first time I tried to access the bootmenu, I believe I pressed ESC twice, so it started trying to boot from hard disk, since then everytime I boot I instantly see the "SeaBios" screen with the message booting from hard disk..

I've tried to press "ESC and 2" quickly right after booting as I saw mentioned in the thread, as well as tried to press "CTRL+D" multiple times even before the screen pops up but I can't seem to the get to any screen except the SeaBios booting from hard disk.

I'm sure I've missed something really obvious, but I'd love some help, I'm at my wits end here =/


EDIT:

Borrowed a usb stick from the brother and all is well now, apparently there's something wrong with all three of mine, sorry for the foolish question, and thanks for all your work. Smile


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Matt Devo - 2015-03-21

(2015-03-21, 04:52)grabner Wrote: Hi Matt,

I was trying to setup a standalone openelec system, and I ran into some issues when trying to boot from the OE install stick.

The first time I tried to access the bootmenu, I believe I pressed ESC twice, so it started trying to boot from hard disk, since then everytime I boot I instantly see the "SeaBios" screen with the message booting from hard disk..

I've tried to press "ESC and 2" quickly right after booting as I saw mentioned in the thread, as well as tried to press "CTRL+D" multiple times even before the screen pops up but I can't seem to the get to any screen except the SeaBios booting from hard disk.

I'm sure I've missed something really obvious, but I'd love some help, I'm at my wits end here =/


EDIT:

Borrowed a usb stick from the brother and all is well now, apparently there's something wrong with all three of mine, sorry for the foolish question, and thanks for all your work. Smile

glad you got it sorted.

just to clarify:

- hitting ESC multiple times no longer automatically boots the internal ssd
- [CTRL-D] does nothing once you've flashed the standalone firmware
- hitting ESC/2 blindly is only needed if your display takes a long time to turn on/sync and you see the 'Press ESC for boot menu' text above the 'Booting from Hard Disk' text


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.15 - 2015/03/19] - Soli - 2015-03-21

(2015-03-21, 04:42)Matt Devo Wrote:
(2015-03-21, 03:36)Soli Wrote: If I insert a bootable usb stick into my chromebox, then I obviously want to boot from it. I don't want to connect a keyboard and hit ESC, downarrow, enter. I think all of us that are even flashing your bios are well enough versed with computers that we dont "accidentally" use a bootable MBR on our external drives.

I completely disagree here, on both counts.

Quote:Anyways, my suggestion would that you include an option in your script to flash an alternative bios that automatically boots from USB. That would be great for those of us who like living on the edge.. Wink

I had considered that, but I really don't want to have to maintain multiple versions just to satisfy every permutation people want. maybe I'll make it a flash-time option, since I can do that via the script after download but before it's flashed. But my motivation to do that is low =P

I understand. Would appreciate it if you did. Or just tell me how to modify the BIOS Image.