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) [2015/11/10] - Matt Devo - 2015-11-29

Try disabling the automatic refresh rate adjustment and see if the problem persists


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - teki4u - 2015-11-30

(2015-11-25, 20:03)denz13 Wrote: Thanks, I'll try the patches and confirm if it resolves the issue.
Please post the packages to download IF you compile it and IF it works. Would be great if you can do 3.19 and 4.3+


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - loki05 - 2015-11-30

Hey guys,

I just recently updated to the latest Openelec build (v6.0) using the openelec dev addon.....all is well, but when trying to launch chromium browser...nothing happens. I tried uninstalling the addon and reinstalling it...same nothing. anyone know if it stopped on this release? or any advice? thx!


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - Grumpyman - 2015-11-30

(2015-11-29, 20:13)Matt Devo Wrote: Try disabling the automatic refresh rate adjustment and see if the problem persists

Thanks Matt

That worked


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - onyx00 - 2015-11-30

Having issues here as well - was running without issue on 5.x and then upgraded and now menus and other on-screen displays hang. If I try to bring up a menu or even the pop-up that says "Working" comes up, the video keeps playing but the menu/etc. remains and you cannot exit out of it.

Will post a debug log soon as I get a chance but wanted to post in case others had the same issue and thought they might be "crazy."


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/10] - nickr - 2015-11-30

@onyx00 I solved that by renaming guisettings.xml and redoing all my config.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/30] - Matt Devo - 2015-11-30

script update 2015-11-30:

- Update coreboot to latest upstream commit
- Update SeaBIOS to version 1.9.0
- Add support for the Broadwell-based Asus ChromeBox CN62 (all CPU/GPU options)


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/30] - InfoJunky - 2015-12-01

(2015-11-30, 05:23)onyx00 Wrote: pop-up that says "Working" comes up, the video keeps playing

After manually updating to the "64-6.0.98-fritsch" build suggested in the wiki, I'm experiencing a similar (maybe) issue.

About half the time when I start playing a movie, I get the small pop-up that says "Working" with the spinning circle and it freezes. The movie continues to play,
but the box becomes unresponsive from remote input and the pop-up remains for about 5 minutes.

It eventually goes away and the box becomes responsive again. The video is not affected.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/30] - Matt Devo - 2015-12-01

(2015-12-01, 19:03)InfoJunky Wrote: After manually updating to the "64-6.0.98-fritsch" build suggested in the wiki, I'm experiencing a similar (maybe) issue.

About half the time when I start playing a movie, I get the small pop-up that says "Working" with the spinning circle and it freezes. The movie continues to play,
but the box becomes unresponsive from remote input and the pop-up remains for about 5 minutes.

It eventually goes away and the box becomes responsive again. The video is not affected.

I'm unable to reproduce this here. Is this on an upgrade from 5.0.8? Where is your content located? If a network location, does the issue occur with local content (or connected USB) as well?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/30] - bobandy - 2015-12-01

(2014-05-07, 19:48)Matt Devo Wrote: Since the ethernet MAC address is stored in the firmware, if you are setting up multiple ChromeBoxes, you need to do a firmware backup for each, since restoring the same backup to multiple boxes will result in them having the same MAC address, and cause serious network issues.

How does coreboot get the mac address if you're flashing over the stock firmware which it's contained in? Is it possible to manually change the MAC address in the custom coreboot firmware? Basically Im replacing some older boxes with these to save space/power for a lab setup and would like to change them to the already spoofed mac addresses our local network policies are configured with. I could spoof in software after OS boot but this would be a more elegant solution. I understand this would be a fringe issue that's way outside the scope of this walk-through, but I figured the worst you could say was "that's a waste of my time" (and completely understandable). Any insight over this would be greatly appreciated.

Finally, a giant thank you to the team for y'alls work.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/30] - Matt Devo - 2015-12-01

(2015-12-01, 23:02)bobandy Wrote: How does coreboot get the mac address if you're flashing over the stock firmware which it's contained in? Is it possible to manually change the MAC address in the custom coreboot firmware? Basically Im replacing some older boxes with these to save space/power for a lab setup and would like to change them to the already spoofed mac addresses our local network policies are configured with. I could spoof in software after OS boot but this would be a more elegant solution. I understand this would be a fringe issue that's way outside the scope of this walk-through, but I figured the worst you could say was "that's a waste of my time" (and completely understandable). Any insight over this would be greatly appreciated.

Finally, a giant thank you to the team for y'alls work.

in the stock firmware, the MAC address is stored in a 4kb fixed-size/fixed location section called the VPD, vital product data. I read and store the VPD section into a file, vpd.bin, which I then add vpd.bin to the custom coreboot firmware file which the script downloads prior to flashing. If you have a ChromeBox already running my custom firmware, the easiest way to change the MAC address in firmware is to read the firmware from flash into a file, search for and hex-edit the MAC string, and write it back.

If this is something you need/would like to have scripted/automated for your particular use, shoot me an email at [email protected] to discuss further.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/30] - InfoJunky - 2015-12-02

(2015-12-01, 20:41)Matt Devo Wrote: I'm unable to reproduce this here. Is this on an upgrade from 5.0.8? Where is your content located? If a network location, does the issue occur with local content (or connected USB) as well?

Yes I believe I upgraded from 5.0.8. It had been working flawlessly for me.

My content is located on a few external drives plugged into a raspberry pi B+, wired to my network, and shared up via Samba.

I haven't tried playing any local content, but I'll give it a go once I have time to fight my family off of the TV.

Thank you Sir, for your prompt response.

Sláinte


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/30] - pvagner - 2015-12-03

I'm on celeron based HP Chromebox. I am slowly searching in the thread trying to find an answer to a simple question. I would like to dual boot chrome OS and Arch linux. I have completed the device preparation i.e. removed write protect screw, put my device into developer mode, ran the first stage of EZ setup script. I have selected option 1 to dual boot ubuntu. This is what the generic linux instructions advise. Now I do have arch linux image written to an USB key, I can see its boot however it can't fully load. I am not able to copy and paste the output however it prints a lot of kernel modules and it won't continue booting.
Do I need to redo the setup selecting open elec and then try to boot arch linux again or is there something else I can do in order to successfully boot install image of arch linux?
I am connecting my Chromebox into an older Grundig TV.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/30] - Matt Devo - 2015-12-03

(2015-12-03, 04:32)pvagner Wrote: I'm on celeron based HP Chromebox. I am slowly searching in the thread trying to find an answer to a simple question. I would like to dual boot chrome OS and Arch linux. I have completed the device preparation i.e. removed write protect screw, put my device into developer mode, ran the first stage of EZ setup script. I have selected option 1 to dual boot ubuntu. This is what the generic linux instructions advise. Now I do have arch linux image written to an USB key, I can see its boot however it can't fully load. I am not able to copy and paste the output however it prints a lot of kernel modules and it won't continue booting.
Do I need to redo the setup selecting open elec and then try to boot arch linux again or is there something else I can do in order to successfully boot install image of arch linux?
I am connecting my Chromebox into an older Grundig TV.

no, you're on the right path. If you didn't boot ChromeOS after running the first stage of the dual boot setup, you need to do that, since that's what actually resizes the partitions. Then, re-run the EZ setup script and update the legacy BIOS. Finally, reboot into legacy mode and install arch using the instructions on their wiki: https://wiki.archlinux.org/index.php/Chrome_OS_devices#Alternative_installation.2C_Install_Arch_Linux_in_addition_to_Chrome_OS. You can skip the part where you run the ChrUbuntu script to repartition since my script does the same thing.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/30] - pvagner - 2015-12-03

I've already booted chrome OS and the partition sizes are okay.
I think I am running your latest seabios at least it indicates so when pressing ctrl+l on the boot screen.
Should I run EZ setup script again to update the seabios or can I just try booting arch from USB?
I have read the wiki article you have pointed me to and I think I have found nothing new for me in there.
What I'm doing:
0) power off chromebox,
1) insert the USB drive,
2) Power on Chromebook,
3) When the boot screen appears I press ctrl+l
4) As the seabios screen appears I press ESC
5) I press number 2 on the keyboard
6) Arch boot promp comes up, the unit beeps and I can choose to boot 64 or 32 bit build.
7) I press the enter key to accept the default which should boot 64 bit.
8) After a little while I realize the text on the screen no longer scrols displaying new stuff and a few bottom lines only contain listing various kernel modules.
9) I've tried to wait long while e.g. two hours in this state but nothing has changed so definatelly something is going wrong.
I am booting october 2015 image. I will try some older images just in case this one is screwed somehow but I believe I am doing it right.