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: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - tredman - 2016-09-15

(2016-09-15, 18:16)RayTrace77 Wrote: @tredman,

Can you SSH into your box while it's on and use xrandr to query the current display status ?
Thanks Ray. Just actually managed to fix it. Didn't work at all with LE7, but bumping up to LE8 fixed it first time.

Odd....


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-16

*Excuse the formatting of the text, I typed it in Notepad first.

So the scenario was this:

1.) Chromebox in a dual boot state with stock firmware
2.) Chromebox was set to boot LibreELEC immediatley, no 30s wait
3.) Chromebox had been restored using Googles Recovery Utility(it said it was successful) <------that is where the problems started
4.) ESC key's did not work on any keyboard to get to boot selection menu
5.) ChromeOS did not boot as it says the owner has disabled ChromeoS boot in developer mode"
6.) When it tried to boot the partition where LibreELEC was installed it just went to a blank screen, no keys worked, nothing.
7.) I didn't have another 1.8" SSD to try and use.
8.) It's been a few years since I've even touched the Chromebox to do any work on it.

I felt like I had pretty much hit a brick wall here, ESC key would not work to boot another device and I couldn't see anything else possible if ChromeOS itself didn't boot, I knew the keyboards we're working because if I pressed the recovery button next to the SD card and powered on, it took me to the recovery screen where the keyboard worked, also, when you see the developer screen and it says press Space bar to re-enable OS validation the Space bar key registered(the FORCE-DEV-SWITCH option had been enabled so of course it did not re-enable validation), this is before it handed over to SeaBIOS, I was reading a lot online to try and see if anyone else was in that situation but after a lot of looking I didn't find anything, there was 1 person but he had updated his SeaBIOS to fix the ESC key issue(using 1 of Matt's scripts),something I couldn't do as I couldn't boot the Chromebox into anything.

I read about people using Chromium to do all sorts of things, so I got Chromium, made a bootable USB stick using the Win32DiskImage maker but of course I was still stuck as I couldn't get the Chromebox to boot to USB, after a long time of searching I eventually came across a post on a forum(think it was some kind of dev forum for chromium) where someone said you can use Ctrl+U at the developer boot screen to tell it to boot USB, so I powered the Chromebox on, waited for it to show the developer screen, I only had about 2 seconds to press the keys I wanted before it handed over to SeaBIOS but I pressed Ctrl+U and it worked, there was no visual or audible confirmation, just straight after the developer screen, it starts to boot the USB and I was now in Chromium, dropped to a shell, found a place where I had R/W access(/media) and downloaded/ran Matt's E-Z Script, from there I was able to flash the coreboot firmware(took a few minutes), backing up my current one of course, and it then created a LibreELEC install media(usb stick), rebooted.

At this point I nearly fell of my seat, when I rebooted I forgot that the reason I was able to boot USB is because of the stock firmware's dev screen allowing me to press Ctrl+U, and I basically took that away, I didn't see any visible screen or onscreen initialization for coreboot, as soon as I powered the Chromebox on the fist screen I saw is the SeaBIOS screen, and the first time it rebooted from Chromium the ESC key did not work, luckily when I powered it off and on, the ESC did finally work and it let me select the USB LibreELEC install media, which then installed successfully, when that rebooted, it was finally up and running.

Notes:

1.) The Ctrl+U took a lot of searching to find, now I've searched specifially for it, I can find stuff on it, but when I was researching the issues I was having, I could hardly find anything, only 1 post in a forum that mentioned Ctrl+U.

2.) Before all of this, I could not find a single post or thread or anything about how to actually switch from a dual boot, to a single boot, I'm talking about a small guide, I'm sure that would have saved me this issue, I think the way you would do it now is, just boot of a USB Chromium/Ubuntu, go to a R/W'able location and download/run Matt's E-Z Script which will allow you to flash the coreboot firmware.

3.) In a few places it's mentioned that before you restore to factory "so be sure to reset them back to the 'ChromeOS + 30s default'", but I could not find anything that actually told me how to do it, on the same page further down it does mentioned that "The default OS and boot timeout are set using the 'Set Boot Options' feature of the EZ Setup Script" which I didn't see so that was my fault, at the same time I didn't know how to boot USB so I would have had to figure that out first.

4.) The very first time I pressed Ctrl+U, because there was no bootable USB stick I beleive it gave 2 beeps and 2 screen flashes at the developer screen, so I think there is audible and visual confirmation if it can't find anything to boot when you press Ctrl+U

5.) After booting Chromium, when dropping to a shell, the default login was just "root" and no password, I kept seeing everywhere saying username and password is chronos which did not work, I think the user did exist but I did not know the password for it.

6.) At the time I could not see anywhere that said if the coreboot firmware flash also updates SeaBIOS, which I did eventually find on the original kodi.wiki Chromebox page "http://kodi.wiki/view/chromebox", the answer is yes.

7.) I'm starting to see that the information I needed is out there but scattered in different locations, the Chromebox guide on kodi.wiki is comprehensive but I think it could do with some touch ups when it mentiones something you need/can do, for instance, under "2.3 Perform a Factory Reset", it says "so be sure to reset them back to the 'ChromeOS + 30s default'", that could do with a caption or something next to it that says something like "See 3.2 Dual Boot OS Selection for how to do this"

This isn't a rant or anything, just explaing what happened to me incase anyone else find's themselves in the same or similiar situation, maybe they can use something in the text above to help them out.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - tjfluharty - 2016-09-16

Hey Mr. Chromebox,

I think I'm bricked. I'd be surprised if anyone can help me out of this one.

I bought the Lenovo Chromebox a couple weeks ago on sale. Yesterday I followed the directions in the OP to do a standalone setup. I removed the write-protect screw, put the Chromebox into developer mode, and kicked off the Kodi E-Z Setup script. I selected the custom coreboot firmware but neglected to do the ChromeOS backup. I didn't have a flash drive with me at the time.

It said the installation was successful and then I chose to shutdown the device. When I started it up, it no longer output video. I tried about three different monitors and a couple TVs with a handful of various HDMI and DisplayPort cables. No luck. When you press the power button the device immediately shuts off. It doesn't seem to be getting very far in the boot process.

Please advise. Thank you for the help.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-16

@tjfluharty

That sounds like a bad or wrong firmware flash, if when you press the power button it immediatly powers off then I think the only case a backup of the original firmware would be helpful is if you can reflash the rom chip where the firmware is stored, but that's a lot of work, since it says it was successful, I think it flashed the wrong firmware, I could be wrong.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - wgstarks - 2016-09-16

Moved to a more proper thread.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-17

wow, I step away for a few hours...

(2016-09-16, 15:33)RayTrace77 Wrote: *Excuse the formatting of the text, I typed it in Notepad first.

So the scenario was this:

1.) Chromebox in a dual boot state with stock firmware
2.) Chromebox was set to boot LibreELEC immediatley, no 30s wait
3.) Chromebox had been restored using Googles Recovery Utility(it said it was successful) <------that is where the problems started
yeah, this is where you hosed yourself. There's always a short delay where you could have hit [CTRL+D] to boot ChromeOS, run the script, and flashed the firmware - easy peasy.

Quote:4.) ESC key's did not work on any keyboard to get to boot selection menu
6.) When it tried to boot the partition where LibreELEC was installed it just went to a blank screen, no keys worked, nothing.
7.) I didn't have another 1.8" SSD to try and use.
well, when you ran the ChromeOS recovery, it repartitioned/reformated the SSD, so bye-bye LibreELEC. And it also overwrote the Legacy Boot firmware with the stock version, which has non-functional USB ports (so no keyboard/mouse etc).
PS - it's a m.2 SATA 2242 SSD, not a 1.8" SATA drive

Quote:5.) ChromeOS did not boot as it says the owner has disabled ChromeoS boot in developer mode"
never seen that before

Quote:1.) The Ctrl+U took a lot of searching to find, now I've searched specifially for it, I can find stuff on it, but when I was researching the issues I was having, I could hardly find anything, only 1 post in a forum that mentioned Ctrl+U.
because it's only useful for booting ChromeOS/ChromiumOS on USB, and lots of idiot bloggers thought setting the flag was needed to boot USB devices in Legacy Boot mode, and it's normally isn't enabled (you just got lucky it was)

Quote:2.) Before all of this, I could not find a single post or thread or anything about how to actually switch from a dual boot, to a single boot, I'm talking about a small guide, I'm sure that would have saved me this issue, I think the way you would do it now is, just boot of a USB Chromium/Ubuntu, go to a R/W'able location and download/run Matt's E-Z Script which will allow you to flash the coreboot firmware.
no, you just boot ChromeOS (CTRL+D) and run the script from there.

Quote:3.) In a few places it's mentioned that before you restore to factory "so be sure to reset them back to the 'ChromeOS + 30s default'", but I could not find anything that actually told me how to do it, on the same page further down it does mentioned that "The default OS and boot timeout are set using the 'Set Boot Options' feature of the EZ Setup Script" which I didn't see so that was my fault, at the same time I didn't know how to boot USB so I would have had to figure that out first.
again, you would just boot ChromeOS and run the script

Quote:6.) At the time I could not see anywhere that said if the coreboot firmware flash also updates SeaBIOS, which I did eventually find on the original kodi.wiki Chromebox page "http://kodi.wiki/view/chromebox", the answer is yes.
I'm not sure how to present this more clearly. Suggestions?

Quote:7.) I'm starting to see that the information I needed is out there but scattered in different locations, the Chromebox guide on kodi.wiki is comprehensive but I think it could do with some touch ups when it mentiones something you need/can do, for instance, under "2.3 Perform a Factory Reset", it says "so be sure to reset them back to the 'ChromeOS + 30s default'", that could do with a caption or something next to it that says something like "See 3.2 Dual Boot OS Selection for how to do this"
I can be more explicit in stating that one should boot ChromeOS to do this.


(2016-09-16, 18:16)tjfluharty Wrote: Hey Mr. Chromebox,

I think I'm bricked. I'd be surprised if anyone can help me out of this one.

I bought the Lenovo Chromebox a couple weeks ago on sale. Yesterday I followed the directions in the OP to do a standalone setup. I removed the write-protect screw, put the Chromebox into developer mode, and kicked off the Kodi E-Z Setup script. I selected the custom coreboot firmware but neglected to do the ChromeOS backup. I didn't have a flash drive with me at the time.

It said the installation was successful and then I chose to shutdown the device. When I started it up, it no longer output video. I tried about three different monitors and a couple TVs with a handful of various HDMI and DisplayPort cables. No luck. When you press the power button the device immediately shuts off. It doesn't seem to be getting very far in the boot process.

Please advise. Thank you for the help.
I've not seen one of these boxes actually bricked from flashing via my script, but there's always a first time. Shoot me an email at mrchromebox at gmail and I'll be happy to take a look

(2016-09-16, 18:34)RayTrace77 Wrote: @tjfluharty

That sounds like a bad or wrong firmware flash, if when you press the power button it immediatly powers off then I think the only case a backup of the original firmware would be helpful is if you can reflash the rom chip where the firmware is stored, but that's a lot of work, since it says it was successful, I think it flashed the wrong firmware, I could be wrong.
I'm not sure how the script would flash the wrong firmware unless you'd done something to spoof the firmware-embedded info from which it determines the device being used. In this sort of situation, it's one of two things - a bad flash, or a failure of the video BIOS to detect a connected display (which hangs the VBIOS init and the entire boot process)


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-17

Hey Matt,

Ok so I never said I couldn't press Ctrl+D, anything related to booting into ChromeOS was not a option for me, whenever I pressed Ctrl+D at the developer screen it did try to boot ChromeOS but then it said the owner had disabled boot in dev mode, the article below talks about the function, the person I bought it from should have un-enrolled it or removed it from whatever organization it got it's policy's from, way too long ago to do anything about now, I tried to find a picture of the screen on Google but couldn't.
https://bugs.chromium.org/p/chromium/issues/detail?id=412587

Not sure about the lucky part of the USB being enabled, are you saying that there's a number of Chrome devices out there where Ctrl+U is not enabled in the stock firmware ?, even if it's switched to dev mode ? or maybe it's a dev mode specific flag ?, because if the stock Legacy Boot does not have funtioning USB ports and stock firmware dev mode has no function to tell it to boot USB then it's kind of useless, even in my case, the coreboot firmware hands off to the Legacy Boot, so even though Ctrl+U flag was on, what initiated the boot off the USB stick if the Legacy Boot had non functioning USB ports ?, did coreboot skip the handover to Legacy Boot or something ?, just trying to understand what happened there because what you said has confused me quite a bit.

For quote 6 about not seeing anywhere that said coreboot firmware flash updates SeaBIOS, a small disclaimer or notice under the heading of "Install / Update: coreboot Firmware (standalone)" on the 1st page of this thread I think would make a world of difference, something like "NOTE: Flashing/updating the coreboot firmware updates SeaBIOS at the same time"

Regarding the bad firmware flash, is there a verification of any kind performed after it's flashed the coreboot firmware to ensure the data was written correctly ?, if not, then yeah a bad flash could be possible, he said that the device powers off immediately, I would have though a failure of the VBIOS which hangs the boot process would just hang, not cause it to actually power itself off.

PS: The stuff you've done is insane(the good kind), I don't want you to think I'm trying to knock you or have a go or anything.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-17

(2016-09-17, 02:34)RayTrace77 Wrote: Hey Matt,

Ok so I never said I couldn't press Ctrl+D, anything related to booting into ChromeOS was not a option for me, whenever I pressed Ctrl+D at the developer screen it did try to boot ChromeOS but then it said the owner had disabled boot in dev mode, the article below talks about the function, the person I bought it from should have un-enrolled it or removed it from whatever organization it got it's policy's from, way too long ago to do anything about now, I tried to find a picture of the screen on Google but couldn't.
https://bugs.chromium.org/p/chromium/issues/detail?id=412587
ok, then you should have booted a Linux ISO from USB and run the script from there; Using the Recovery media when not needed (and when set to boot in legacy mode by default w/short delay) caused a lot of avoidable headaches.

Quote:Not sure about the lucky part of the USB being enabled, are you saying that there's a number of Chrome devices out there where Ctrl+U is not enabled in the stock firmware ?, even if it's switched to dev mode ? or maybe it's a dev mode specific flag ?, because if the stock Legacy Boot does not have funtioning USB ports and stock firmware dev mode has no function to tell it to boot USB then it's kind of useless, even in my case, the coreboot firmware hands off to the Legacy Boot, so even though Ctrl+U flag was on, what initiated the boot off the USB stick if the Legacy Boot had non functioning USB ports ?, did coreboot skip the handover to Legacy Boot or something ?, just trying to understand what happened there because what you said has confused me quite a bit.
From the Developer Mode boot screen, there are 3 (non-recovery) paths: CTRL+D boots ChromeOS (using the ChromeOS payload, depthcharge) from the internal storage; CTRL+U boots ChromeOS/ChromiumOS (using the ChromeOS payload, depthcharge) from USB; CTRL+L boots the legacy boot payload (SeaBIOS).

When one switches to Developer Mode initially, CTRL+U and CTRL+L are disabled; you have to manually enable them using the Developer Mode boot flags (dev_boot_usb and dev_boot_legacy, respectively). When you install the Legacy BIOS update via the script, it sets the legacy boot flag for you; it does not set the USB boot flag.

In your case, at some point the dev_boot_usb flag was set, allowing you to boot ChromiumOS via USB. And since doing so is unrelated to Legacy Boot mode, the non-functional factory SeaBIOS didn't come into play. (Side note: more ChromeOS devices than not have a non-fully-functional or non-existent Legacy Boot mode. It's not considered a core component, so if it's working when they ship a given device, then great. That's why 99% of ChromeOS devices benefit from the RW_LEGACY firmware updates I provide.)

Quote:For quote 6 about not seeing anywhere that said coreboot firmware flash updates SeaBIOS, a small disclaimer or notice under the heading of "Install / Update: coreboot Firmware (standalone)" on the 1st page of this thread I think would make a world of difference, something like "NOTE: Flashing/updating the coreboot firmware updates SeaBIOS at the same time"
it's much more clear on my website (https://mrchromebox.tech -- lots of in-depth info there) but not so much on the Kodi side - I'll address this.

Quote:Regarding the bad firmware flash, is there a verification of any kind performed after it's flashed the coreboot firmware to ensure the data was written correctly ?, if not, then yeah a bad flash could be possible, he said that the device powers off immediately, I would have though a failure of the VBIOS which hangs the boot process would just hang, not cause it to actually power itself off.

the flashing app (flashrom) reads back each block it writes and compares to the file, so bad flashes are extremely rare.

if the VBIOS hangs due to lack of connected display, it doesn't power off by itself, but it does power off immediately when the power button is pressed (ie, doesn't require holding for ~5-10s), which is the same behavior as a bad flash

Quote:PS: The stuff you've done is insane(the good kind), I don't want you to think I'm trying to knock you or have a go or anything.
thanks, it's really hard to provide the "right" level of detail for this kind of stuff sometimes. Most people want a simple step-by-step that tells them what to do without the why. I think for something like flashing custom firmware, a certain amount of "why" is needed, but hard not to get lost in the weeds sometimes. My site is very weedy, bu that's the target demographic so it's ok.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - bbsc - 2016-09-17

Hi, Matt.
It looks like you've updated coreboot firmware, it's now dated 2016.09.06.
I like new thermal thresholds for Haswell Cromebox (I have a Dell one), but there's a question.
https://github.com/MattDevo/coreboot/blob/master/src/mainboard/google/panther/thermal.h :
Code:
/* Fan is at MEDIUM speed */
#define FAN2_THRESHOLD_OFF    55
#define FAN2_THRESHOLD_ON    67
#define FAN2_PWM        0x76
Maybe it's better to change 55 to 62 or so?
The CPU runs at near 64 Celsius in my case when watching FullHD IPTV and "low" FAN speed.
It was 62 Celsius and "medium" FAN speed with old thresholds.

I like the present situation much more, of course. But if the temperature rises for some reason for a short time above 67 Celsius and then falls back, the FAN will remain at MEDIUM speed.
55 degrees seems to be too low for Chromebox in active state.

Thank you.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-17

(2016-09-17, 08:36)bbsc Wrote: I like the present situation much more, of course. But if the temperature rises for some reason for a short time above 67 Celsius and then falls back, the FAN will remain at MEDIUM speed.
55 degrees seems to be too low for Chromebox in active state.

Thank you.

the problem with doing as you suggested, is that if the OFF threshold for the medium was raised to 62, there's a fairly high likelihood of the temp quickly coming back up to 67, which would end up causing a constant oscillation between low and medium speeds. In general the cooling strategy employed is to try not only and bring the temp down into the LOW speed region, but to run the fan long enough at the higher setting to ensure that the temp doesn't immediately rise back up.

These defaults are what I feel is a good compromise to cover all four Haswell Chromeboxes with a single firmware file. If they don't work optimally for someone (which is inevitable), then the OS-level mechanisms for adjustment are likely the best option (short of building your own firmware). And if they aren't working optimally for a large enough group of users, then I'm happy to reevaluate the defaults Smile


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - bbsc - 2016-09-17

(2016-09-17, 10:44)Matt Devo Wrote: ...there's a fairly high likelihood of the temp quickly coming back up to 67, which would end up causing a constant oscillation between low and medium speeds.

Ok, thanks for the answer.
I suspected that this reason forced you to set those thresholds,
Definitely it's not my case because MEDIUM fan speed keeps CPU temperature near 60-62 in active state.
So, taking into consideration your conclusions and huge experience, I have to disassemble the box and have a look what's there with cooling system and thermal grease.

One question more, if you don't mind.

I've lost my original MAC for some reason and now the box runs with "standard" MAC. I'd like to get it back.
Is it enough to find "standard" MAC in the binary coreboot....rom file, replace with my original MAC and flash the binary? (I mean the file in the /tmp directory after script run)


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - vispinet - 2016-09-17

Will this script work on a Samsung Chromebox i5 2450M?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Karnis - 2016-09-17

Hi Matt:
Recently upgraded to a 4K HDTV. I run the Chromebox GUI @ 1080p 60Hz but it defaults to 120Hz during playback because that is the highest refresh rate Kodi detects and all my media is common to that refresh rate. I've tried to use 120Hz but I get stuttering. So I'd like to "cap" 1080p @ 60Hz. As I remember I can SSH into the Chromebox and look at/edit the mode line & remove 120Hz...but I don't remember the exact syntax to do it. Would you mind gently nudging me in that direction? Much appreciated!


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - RayTrace77 - 2016-09-17

Hey Matt,

So there random turn on issue is still present, I tried to take a closer look at the dmesg logs and I think it is the BD remote but can't tell for sure, even then it powers on at literally random times so it's not consistent, would you be able to tell me caused the last power on/resume in the logs below ?, if it is the BD remote then I don't really know why the remote is randomly sending a button press or signal.

https://dropfile.to/hGXYhzb

PS: Thanks for your site link, a lot of info on their, should probably add that link to your signature


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-17

(2016-09-17, 11:58)bbsc Wrote:
(2016-09-17, 10:44)Matt Devo Wrote: ...there's a fairly high likelihood of the temp quickly coming back up to 67, which would end up causing a constant oscillation between low and medium speeds.

Ok, thanks for the answer.
I suspected that this reason forced you to set those thresholds,
Definitely it's not my case because MEDIUM fan speed keeps CPU temperature near 60-62 in active state.
So, taking into consideration your conclusions and huge experience, I have to disassemble the box and have a look what's there with cooling system and thermal grease.

One question more, if you don't mind.

I've lost my original MAC for some reason and now the box runs with "standard" MAC. I'd like to get it back.
Is it enough to find "standard" MAC in the binary coreboot....rom file, replace with my original MAC and flash the binary? (I mean the file in the /tmp directory after script run)

I don't know that your cooling system isn't working properly - there's always going to be a push/pull between the fan and CPU load, and that's just where your system reached an equilibrium for the given CPU load.

As for the MAC, I'm not sure why you feel the need to replace it, since the default is just as valid as the unique one that came with the device. OR where you have your original MAC that you want to use as the replacement.

(2016-09-17, 14:26)vispinet Wrote: Will this script work on a Samsung Chromebox i5 2450M?

yes, it's listed as supported, but the Series 3 Samsung boxes can be quite temperamental with the custom firmware - sometimes they don't like the RAM included with the box, and you need to use one stick only or a different pair. It's not a recommended device for sure, as per the wiki.

(2016-09-17, 17:11)Karnis Wrote: Hi Matt:
Recently upgraded to a 4K HDTV. I run the Chromebox GUI @ 1080p 60Hz but it defaults to 120Hz during playback because that is the highest refresh rate Kodi detects and all my media is common to that refresh rate. I've tried to use 120Hz but I get stuttering. So I'd like to "cap" 1080p @ 60Hz. As I remember I can SSH into the Chromebox and look at/edit the mode line & remove 120Hz...but I don't remember the exact syntax to do it. Would you mind gently nudging me in that direction? Much appreciated!

if you have the GUI fixed to 1080p60 and want your video to playback at that as well, simply disable the auto refresh rate switching under the Video Playback options - no need for any config hacking.

(2016-09-17, 20:34)RayTrace77 Wrote: Hey Matt,

So there random turn on issue is still present, I tried to take a closer look at the dmesg logs and I think it is the BD remote but can't tell for sure, even then it powers on at literally random times so it's not consistent, would you be able to tell me caused the last power on/resume in the logs below ?, if it is the BD remote then I don't really know why the remote is randomly sending a button press or signal.

https://dropfile.to/hGXYhzb

PS: Thanks for your site link, a lot of info on their, should probably add that link to your signature

there's nothing deterministic that I see in that log, but I'd suspect the BD remote. Can you disable bluetooth and just use a wireless KB for a bit to see if that's indeed the issue?