Kodi Community Forum

Full Version: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(2015-01-22, 07:42)Matt Devo Wrote: [ -> ]
(2015-01-22, 07:35)bolmsted Wrote: [ -> ]I'm not sure what I'm running into but I've noticed that I sometimes reboot the chromebox and it hangs on the OpenELEC screen on reboot and I have to physically power it off and then back on. I've setup an OS side NFS mount and installed some addons - one of which needs an OS level share installed instead of having Kodi use one built in and I can see it mounted via ssh.

I'd bet it's hanging on trying to mount the NFS share before the network is up. Do you have the share setup properly to wait for the network before mounting?

Hi Matt

it seems to hang when rebooting the box. When I power on the box from cold it takes a bit of time to come up but it does mount the file system on boot... I'm using the new method for mounting NFS. This is from my Synology running DSM4.3

Code:
OpenELEC:~/.config/system.d # more storage-pulsar.mount
[Unit]
Description=Pulsar nfs mount script
Requires=network-online.service
After=network-online.service
Before=kodi.service

[Mount]
# The share we want mount
What=192.168.1.5:/volume1/pulsar
Where=/storage/pulsar
Options=
Type=nfs

[Install]
WantedBy=multi-user.target
OpenELEC:~/.config/system.d #

OpenELEC:~/.config/system.d # df -h
Filesystem                Size      Used Available Use% Mounted on
devtmpfs                934.5M    136.7M    797.7M  15% /dev
/dev/sda6               242.1M    146.2M     91.9M  61% /flash
/dev/sda7                 8.9G    336.0M      8.5G   4% /storage
/dev/loop0              136.8M    136.8M         0 100% /
tmpfs                   936.3M         0    936.3M   0% /dev/shm
tmpfs                   936.3M      5.7M    930.6M   1% /run
tmpfs                   936.3M         0    936.3M   0% /sys/fs/cgroup
tmpfs                   936.3M      8.0K    936.3M   0% /tmp
tmpfs                   936.3M    252.0K    936.0M   0% /var
/dev/sda12               16.0M      1.4M     14.5M   9% /var/media/EFI-SYSTEM
/dev/sda8                11.5M     24.0K     11.1M   0% /var/media/OEM
/dev/sda1                 1.5G     17.7M      1.4G   1% /var/media/sda1-ata-SanDisk_SSD_U110
192.168.1.5:/volume1/pulsar
                          7.2T      5.3T      1.9T  74% /storage/pulsar
OpenELEC:~/.config/system.d #


EDIT: sorry I put in the mount snippet twice and not the df -h to show it was mounting at boot.
Sorry, that's definitely a question for the OE folks
(2015-01-18, 22:46)Matt Devo Wrote: [ -> ]
(2015-01-18, 22:33)VanillaXtract Wrote: [ -> ]I did a complete reinstall and now my HDMI out does not work. I can boot into openelec just fine. But if I plug in a HDMI cable and boot into openelec, it gives some squiggly lines on the TV and the laptop then both go blank. I have to hold the power button down to do a hard reset. I initially had the storage partition set to 1 GB, I then did another restore and changed it to 2 GB.Any suggestions on what is causing this issue?

no idea, but since you're using a ChromeBook (vs ChromeBox) there's no a whole lot I can do for you. Best thing I can suggest is to restore the factory legacy bios, which contains the video bios as well, and might be responsible for the issues you are having.

see: http://www.chromium.org/chromium-os/deve...esn-t-Work
I got a new Chromebook. I ran through your script, same issue. No HDMI out. Restored the original firmware. Ran your script but did ^c when it started checking for a new bios. Now I have HDMI out. My question is that is the original bios fine to stick with? Where does your script get the files from? Should I keep trying new ones and working backwords until I find one that works?
(2015-01-15, 00:23)nickr Wrote: [ -> ]
(2015-01-14, 22:42)bolmsted Wrote: [ -> ]One of my coworkers has one of these Wireless Keyboards on his Android box and just wondering if I could use this on OpenELEC + Kodi?
http://www.dx.com/p/wireless-2-4ghz-usb-...LbMAivF_zh
I have an identical looking keyboard branded Rii I8. It works on my intel based hardware so should work on the Chromebox. It even works in the Bios of my Intel hardware, so may work for the chromebox ctrl- key options.

EDIT: the one I have http://www.dx.com/p/genuine-rii-mini-i8-...LbsGMl2M8s

My coworker lent me the keyboard and it is working for me so I ordered it tonite so hopefully DX sends it quickly so for now I have to use xbmc on my phone and I don't want to have to drag my phone downstairs to watch TV all the time. I also ordered an Ortek remote (or at least that is what shows up on Amazon in the comments) that is compatible with the Asus Chromebox according to the wiki as an MCE remote and program it in the Harmony remote and toss the original remote (just the IR sensor needed) to keep the wife happy as she doesn't want to use the keyboard to use the TV. Just good to have keyboard for searching for stuff, etc.

(2015-01-22, 17:44)Matt Devo Wrote: [ -> ]Sorry, that's definitely a question for the OE folks

Well I asked there in the openelec.tv forums so see what they say (no bites yet though). Wonder if an addon can crash Kodi/OpenELEC as one of the addons was updated so may try it. I'm gong to try rebooting the Chromebox from Kodi once the wife is done using the TV before I run the addon to see if it is causing the issue as a bit of a process of elimination.
If a new version of OpenELEC or XBMC comes out do we need to flash the box again using this script or will it update automatically in place like other Linux distros and patching? Can we backup our setup and restore afterwards if we have to reflash?
(2015-01-23, 03:47)VanillaXtract Wrote: [ -> ]I got a new Chromebook. I ran through your script, same issue. No HDMI out. Restored the original firmware. Ran your script but did ^c when it started checking for a new bios. Now I have HDMI out. My question is that is the original bios fine to stick with? Where does your script get the files from? Should I keep trying new ones and working backwords until I find one that works?

ok, then stick with that - I make no promises that any of this will work with the Haswell ChromeBooks, especially not the firmware (which I guarantee 100% will brick them). If the stock legacy BIOS on your ChromeBook is functional (unlike with the Asus/HP ChromeBoxes) then there's no reason to update it.

the firmware files use by my script (both the full coreboot firmware and SeaBIOS payload for the stock firmware) are built by me, and optimized/tested only on the Haswell ChromeBoxes; the Haswell ChromeBooks are different because they have an onboard display and sensors for lid open/shut etc. I have built custom firmware for ChromeBook users who have requested it, though I don't make those available publicly, only upon request, since I can't test them beforehand.

(2015-01-23, 05:54)bolmsted Wrote: [ -> ]Well I asked there in the openelec.tv forums so see what they say (no bites yet though). Wonder if an addon can crash Kodi/OpenELEC as one of the addons was updated so may try it. I'm gong to try rebooting the Chromebox from Kodi once the wife is done using the TV before I run the addon to see if it is causing the issue as a bit of a process of elimination.

you'll have much better luck asking in the IRC support channel than on the forums.

(2015-01-23, 06:15)bolmsted Wrote: [ -> ]If a new version of OpenELEC or XBMC comes out do we need to flash the box again using this script or will it update automatically in place like other Linux distros and patching? Can we backup our setup and restore afterwards if we have to reflash?

for a standalone setup, you'll never have to run the script again, unless there is a firmware update that specifically fixes an issue you are having. If it's not broke, don't fix it. OpenELEC will update automatically if you have that option enabled, otherwise you update it like you would on any other PC (which is covered in the wiki)
Hi Matt

I switched from WiFi over to wired Ethernet and it seems to boot fairly quickly now and rebooting it doesn't seem to hang. Perhaps the wifi driver takes a while to come up but seems to be better now. Will monitor. Was hoping to free up an Ethernet port on the router but oh well.
that's definitely possible, all my boxes are wired gigE here so I only switch to wifi when someone asks me to test something (eg, throughput)
(2015-01-21, 18:37)Matt Devo Wrote: [ -> ]it's a marketing thing, the Celerons have typically used 'Intel HD Graphics' whereas the Core CPUs get a number. From a hardware standpoint, HD4000 (Haswell) is accurate; the only difference between the Celeron and Haswell Core i3/i7 GPUs with the HD4400 GPU is the number of execution units (EUs) and the clock speed.

Marketing or not, there was never an HD4000 for HSW.
HD 4000 is IVB with 16 EUs - HD Graphics (HSW) is 10 EUs
http://en.wikipedia.org/wiki/Intel_HD_and_Iris_Graphics
Where is the Hardware Standpoint where HSW HD is similar to IVB HD4000?
If you say Celeron 2955U have an HD4000, people think this is an IVB GPU and have this Bug for example
https://bugs.freedesktop.org/show_bug.cgi?id=79765
But that's not true, cause Celeron 2955U is an Haswell and have an HD Graphics HSW GPU.

So why don't call it like everyone call it, HD Graphics? Huh
I don't call my i3 3225 an i5 2500 also, although they might be similar.
(2015-01-23, 23:50)-DDD- Wrote: [ -> ]Marketing or not, there was never an HD4000 for HSW.
HD 4000 is IVB with 16 EUs - HD Graphics (HSW) is 10 EUs
http://en.wikipedia.org/wiki/Intel_HD_and_Iris_Graphics
Where is the Hardware Standpoint where HSW HD is similar to IVB HD4000?
If you say Celeron 2955U have an HD4000, people think this is an IVB GPU and have this Bug for example
https://bugs.freedesktop.org/show_bug.cgi?id=79765
But that's not true, cause Celeron 2955U is an Haswell and have an HD Graphics HSW GPU.

So why don't call it like everyone call it, HD Graphics? Huh
I don't call my i3 3225 an i5 2500 also, although they might be similar.

your arguments here are bizarre, no one is saying that the 2955U has the same GPU as a SB/IVB CPU, nor is there likely to be any confusion to that effect. If that was the case, then Intel saying all Celerons have HD Graphics, regardless of platform/architecture, would be even more confusing - would it not? Regardless, I have clarified the wiki in the hope we can put this issue to rest.
(2015-01-23, 09:00)Matt Devo Wrote: [ -> ]
(2015-01-23, 03:47)VanillaXtract Wrote: [ -> ]I got a new Chromebook. I ran through your script, same issue. No HDMI out. Restored the original firmware. Ran your script but did ^c when it started checking for a new bios. Now I have HDMI out. My question is that is the original bios fine to stick with? Where does your script get the files from? Should I keep trying new ones and working backwords until I find one that works?

ok, then stick with that - I make no promises that any of this will work with the Haswell ChromeBooks, especially not the firmware (which I guarantee 100% will brick them). If the stock legacy BIOS on your ChromeBook is functional (unlike with the Asus/HP ChromeBoxes) then there's no reason to update it.

the firmware files use by my script (both the full coreboot firmware and SeaBIOS payload for the stock firmware) are built by me, and optimized/tested only on the Haswell ChromeBoxes; the Haswell ChromeBooks are different because they have an onboard display and sensors for lid open/shut etc. I have built custom firmware for ChromeBook users who have requested it, though I don't make those available publicly, only upon request, since I can't test them beforehand.

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)
Hi Matt,

I just got my Asus ChromeBox, does it have the WOL option with your bios?
If so, how can i turn it ON?
(2015-01-24, 22:14)CaTz Wrote: [ -> ]Hi Matt,

I just got my Asus ChromeBox, does it have the WOL option with your bios?
If so, how can i turn it ON?

yes, for Ethernet only; you don't need to do anything to turn it on
I just wanted to say a big thank you!

Got my HP ChromeBox a few days ago and just got a chance to mod it last night!
I've put it through it's paces with some of the toughest files I have (VC1 & 7.1 DTS-HD MA about 39Mbps). I am super happy with the results so far.
Only hiccup I have had was not getting audio back up after coming out of suspend which I believe is mentioned somewhere anyway.
I've been back and forth with XBMC for a very long time and was very active in the original ATV1 Moding etc.
I've got my old school hp ir receiver hooked up and working on my universal remote along with my K400 working no problems.
I do home automation, A/V, IT design and installs for a living so I've got a crazy test bed of devices.
I was actually pretty impressed with the FireTV sideloaded with KODI until I ran into the VC1 bug.
I've got a Plex server, Sony Smart Blu-ray, Sony 4k Smart TV, ATV1, ATV 3, Roku 3, FireTV, WDTV Streaming, HTPC, Netgear GTV100 (Google TV Appliance), and now a modded ChromeBox.
All in my test system because I need to know how everything works etc.
I am super happy to have a bootable KODI appliance that will finally play every file I've thrown at it. Now if I can figure out how to marry it to a Roku for the streaming services I would definitely be down to one device to kill them all! lol
(2015-01-25, 01:14)Freakshow999 Wrote: [ -> ]I just wanted to say a big thank you!

you're welcome Smile

Quote:Only hiccup I have had was not getting audio back up after coming out of suspend which I believe is mentioned somewhere anyway.

check the wiki, there's some notes and a script you can try to force a reset on the audio device upon resume from suspend
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