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) [2016/04/18] - Matt Devo - 2016-04-18

(2016-04-18, 16:47)afdarcy Wrote: I'm trying to use the EZ setup script to dual-boot an Asus CN60 with ChromeOS + OpenElec. The script has created a partition and the Chromebox has "repaired" itself. I downloaded and re- ran the script to install OpenElec but am getting the following error when it tries to download OE:

whoops, should have better tested before pushing live; should be fixed now


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - envagyok - 2016-04-18

Hi,

I have Asrock BeeBox N3000 braswell, and i use with Openelec Matt EGL version 6.0.398 I have VDPAU turned off, and enable VAAPI, frame rate to movie, and passtrough.
When i watching high bitrate movie with VC1 coded, i see 4-5 times at fast scene moving blocking for a small time (1-2 frame) It hard to see, and fast gone.
What make i wrong, and how can i eliminate this? With raspberry pi i dont see this problem.
The sample movie has this details:
RUNTiME.......: 01:50:21 [h:mConfused]
SiZE..........: 25,5 Gb
ViDEO CODEC...: VC-1 Advanced Profile 3
FRAMERATE.....: 23.976 fps
BiTRATE.......: 28.5 Mbps
RESOLUTiON....: 1920 x 1080
AUDiO.........: English DTS-HD MA 5.1 @ 3 679 Kbps | Hungarian DTS 5.1 @ 768 Kbps
English AC3 2.0 @ 192 Kbps (Commentary by Director Peter Berg)
SUBTiTLES.....: Hungarian Full & Forced | English SDH
SOURCE........: BD50 - FraMeSToR | TRiNiTY


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - Matt Devo - 2016-04-19

(2016-04-18, 21:42)envagyok Wrote: Hi,

I have Asrock BeeBox N3000 braswell, and i use with Openelec Matt EGL version 6.0.398 I have VDPAU turned off, and enable VAAPI, frame rate to movie, and passtrough.
When i watching high bitrate movie with VC1 coded, i see 4-5 times at fast scene moving blocking for a small time (1-2 frame) It hard to see, and fast gone.
What make i wrong, and how can i eliminate this? With raspberry pi i dont see this problem.

support for EGL builds is in fritsch's VAAPI/EGL thread in the Linux support forum, but he's left Kodi 15.2 behind and is only looking for issues with Kodi 17. Your best bet is to use one of those builds and report the problem if it still exists there. Unfortunately there's nothing to be done for issues with these older builds. Also, I don't have a Braswell system to test with so hard to say if the issue is specific to it or one that affects all Intel platforms. VC-1 is known to have some issues though.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - afdarcy - 2016-04-19

(2016-04-18, 17:33)Matt Devo Wrote: whoops, should have better tested before pushing live; should be fixed now

No worries. Smile That's working now, thanks for fixing it.

Cheers,

Adam


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - piotrasd - 2016-04-19

(2016-04-17, 18:05)Matt Devo Wrote:
(2016-04-17, 13:54)piotrasd Wrote: where i can find source ? to compile myself "OpenELEC 7.0 beta 2 (6.95.2 / Kodi 16.1 rc2)" Huh (your version which you using for EGL)
btw. im testing patch for audio issue over HDMI with Cherry Trail ...i will let know later if works

OpenELEC 6.95.2 (non-EGL): https://github.com/OpenELEC/OpenELEC.tv/tree/6.95.2
OpenELEC 6.0.398 (w/EGL): https://github.com/MattDevo/OpenELEC.tv/tree/6.0.398


thanks ... there is maybe some fork based on openelec 7.0 with kodi 16.x with EGL ??


BTW. i get working HDMI audio for Cherry Trail and Bay Trail Big GrinBig GrinBig GrinBig GrinBig GrinBig Grin with kernel 4.5


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - Matt Devo - 2016-04-19

(2016-04-19, 10:17)piotrasd Wrote: thanks ... there is maybe some fork based on openelec 7.0 with kodi 16.x with EGL ??
won't happen for various reasons (both technical and non)

Quote:BTW. i get working HDMI audio for Cherry Trail and Bay Trail Big GrinBig GrinBig GrinBig GrinBig GrinBig Grin with kernel 4.5
great, got a patch link or PR? Hopefully it doesn't break other devices in the process Smile


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - rvf263 - 2016-04-19

I'm trying to install standalone openelec on my new ASUS M004U.

I removed write-protect screw.
Inserted paperclip
powered on
removed paperclip
screen shows "Chrome OS missing or damaged. Please insert USB stick or SD card.

I went to chromeos/recovery, made a usb recovery drive, installed the OS successfully. Connected to internet, used wireless keyboard, etc.
Did not sign onto Gmail account.

Powered off
Paperclip in
Power on
Paperclip out.

Same message that OS is missing or damaged.

Am I missing something or doing something wrong?

Any help/advice would be greatly appreciated.

I just want to install stand alone OpenELEC and Kodi.

Thanks


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - Matt Devo - 2016-04-19

(2016-04-19, 16:38)rvf263 Wrote: I'm trying to install standalone openelec on my new ASUS M004U.

I removed write-protect screw.
Inserted paperclip
powered on
removed paperclip
screen shows "Chrome OS missing or damaged. Please insert USB stick or SD card.

I went to chromeos/recovery, made a usb recovery drive, installed the OS successfully. Connected to internet, used wireless keyboard, etc.
<snip>
I just want to install stand alone OpenELEC and Kodi.

and there's where you went off track. On the recovery screen, you need to press CTRL-D, then press the recovery button again when prompted, in order to put the box into developer mode. You don't need to actually reset the box/do the recovery process. Once in developer mode, you can open the shell prompt, download/run the script, and flash the custom/standalone firmware and create the OpenELEC install media.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - rvf263 - 2016-04-19

Thanks for the response.
If I understand you correctly, the error message "Damaged/missing OS" is the recovery screen and at that point I press CTL-D until I'm prompted to press the recovery button again with the clip?

So I powered off the unit and did this:

The unit is off,
I press the recovery button with a clip and hold it,
I power on the unit
I take out the clip
The error message damaged/missing OS appears
I press CTL-D on my wireless keyboard

nothing happens. It's not prompting me to do anything else.

Should I be using something other than my wireless keyboard? The keyboard works when the OS connects to my wi-fi...something tells me its not connected yet when I'm pressing CTL-D.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - Matt Devo - 2016-04-19

(2016-04-19, 19:46)rvf263 Wrote: I press CTL-D on my wireless keyboard

nothing happens. It's not prompting me to do anything else.

Should I be using something other than my wireless keyboard? The keyboard works when the OS connects to my wi-fi...something tells me its not connected yet when I'm pressing CTL-D.

yeah, sounds like your keyboard isn't working before the OS loads, so I'd try a different one. Plenty of wireless ones do work, just a few out of spec ones that don't


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - rvf263 - 2016-04-20

(2016-04-19, 19:48)Matt Devo Wrote: yeah, sounds like your keyboard isn't working before the OS loads, so I'd try a different one. Plenty of wireless ones do work, just a few out of spec ones that don't

I'm at work now, but could I use a direct connection USB keyboard?

I'm using a Logitech K400 right now, I would think that would work.

Is there a cheap keyboard that is known to work for sure?

I could pick it up from Staples after work in the morning.

Thanks for all the help.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - jjslegacy - 2016-04-20

Running the new script on libreelec I get: Failure reading current firmware; cannot proceed. (tried rebooting)

Using the Updating the coreboot Firmware (standalone) instructions.

I have done it before on libreelec so maybe it's the new script? Hard to troubleshoot - any way to get more debugging info?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - christoofar - 2016-04-20

(2016-04-20, 00:50)rvf263 Wrote:
(2016-04-19, 19:48)Matt Devo Wrote: yeah, sounds like your keyboard isn't working before the OS loads, so I'd try a different one. Plenty of wireless ones do work, just a few out of spec ones that don't

I'm at work now, but could I use a direct connection USB keyboard?

I'm using a Logitech K400 right now, I would think that would work.

Is there a cheap keyboard that is known to work for sure?

I could pick it up from Staples after work in the morning.

Thanks for all the help.
Nope the Logitech K400 can't be used to install, only after you are set up first. Use a wired USB kybd if you have one.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - averylinden - 2016-04-20

(2016-04-20, 00:53)jjslegacy Wrote: Running the new script on libreelec I get: Failure reading current firmware; cannot proceed. (tried rebooting)

Using the Updating the coreboot Firmware (standalone) instructions.

I have done it before on libreelec so maybe it's the new script? Hard to troubleshoot - any way to get more debugging info?

I ran into this problem the other day. My version was very old (2014). In order to fix it, I edited the downloaded script and changed lines 54 and 56 from grep to grep -i to make the match case insensitive. I believe there was one other problem. One of of the supporting tools was looking for a directory that didn't exist on my openelec. I don't remember but it might have been /run/var or /run/tmp. I created that directory and the script worked. It wasn't able to read my current MAC address so I just let it use the default. Hope this helps.

Code:
curr_fw=$(echo `dmesg | grep -i -m1 "DMI: Google Panther" | awk '{print $NF}'` | awk -F'/' '{print $3$1$2}')
if [ "$curr_fw" == "" ]; then                                                                              
        curr_fw=$(echo `dmesg | grep -i -m1 "Panther, BIOS" | awk '{print $NF}'` | awk -F'/' '{print $3$1$2}')



RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/18] - Matt Devo - 2016-04-20

(2016-04-20, 00:50)rvf263 Wrote: Is there a cheap keyboard that is known to work for sure?

ask and the Chromebox wiki page shall provide an answer: http://forum.kodi.tv/showthread.php?tid=211797

(2016-04-20, 00:53)jjslegacy Wrote: Running the new script on libreelec I get: Failure reading current firmware; cannot proceed. (tried rebooting)

Using the Updating the coreboot Firmware (standalone) instructions.

I have done it before on libreelec so maybe it's the new script? Hard to troubleshoot - any way to get more debugging info?

the standalone firmware updater script hasn't changed, so that's not it. But at least tell me what version of LE you're running so I can try to reproduce here.

(2016-04-20, 01:40)averylinden Wrote: I ran into this problem the other day. My version was very old (2014). In order to fix it, I edited the downloaded script and changed lines 54 and 56 from grep to grep -i to make the match case insensitive. I believe there was one other problem. One of of the supporting tools was looking for a directory that didn't exist on my openelec. I don't remember but it might have been /run/var or /run/tmp. I created that directory and the script worked. It wasn't able to read my current MAC address so I just let it use the default. Hope this helps.

Code:
curr_fw=$(echo `dmesg | grep -i -m1 "DMI: Google Panther" | awk '{print $NF}'` | awk -F'/' '{print $3$1$2}')
if [ "$curr_fw" == "" ]; then                                                                              
        curr_fw=$(echo `dmesg | grep -i -m1 "Panther, BIOS" | awk '{print $NF}'` | awk -F'/' '{print $3$1$2}')

changing it to be case-insensitive is a good idea, I'll do that. The only dir used on non-ChromeOS linux is /tmp, which should exist on all systems, so not sure what that would have been about. Some of the early 2014 firmware versions didn't persist the device-specific MAC address, so will use a default one, which isn't an issue unless you have more than one on your LAN (and are using ethernet).