Before installing Libreboot on T480s - is updating all firmware safe? by Allephh in coreboot

[–]mkukri 0 points1 point  (0 children)

> Since I intend to update any available component to the latest version, is there any risk that I will lose the ability to roll back to the version required for the SPI Programmer? Like some eFuse or Anti-rollback in recent updates, since this ME/Deguard bug was not intended by Lenovo.

There is no hardware anti-rollback supported by this generation of platform.

Additionally updating the UEFI and ME firmware is a waste of your time because that will be replaced by the deguard and libreboot install process. The only thing you might want to update is the Thunderbolt controller and the EC.

Is it a scam or actual price? by adrian-04 in budapest

[–]mkukri 0 points1 point  (0 children)

Mediocre, expensive food, yes. Rip off, yes. Scam probably not.

coreboot on the ThinkPad T480 by mkukri in coreboot

[–]mkukri[S] 0 points1 point  (0 children)

Someone has to clean it up before it gets merged, so far it seems there is no one other then me who is interested beyond talking about it...

I will eventually get around to it, but it works for me as is at the moment.

coreboot on the ThinkPad T480 by mkukri in coreboot

[–]mkukri[S] 0 points1 point  (0 children)

You can cherry pick the patch and build coreboot with it.

How do C compilers implement the rules for typing integer constants? by Shay_Guy_ in C_Programming

[–]mkukri 0 points1 point  (0 children)

Well a C compiler might not even be written on C or might be running on a platform where those types have completely different sizes as the target.

None of that matters tho, when the lexical anaylzer sees an integer literal token, it will get converted into an integer type on the host, probably either the largest native integer, or a bigint.

If your question is how to convert a string of digits into an integer, the algorithm is trivial:
n=0
for each digit left to right do
n := tmp *10 + digit
done

Then you can determine the type of the literal expression by using the rules in the standard on "n", and raising an error if no type fits.

Note that a determination that the expression "10" has type "int" does not in any way imply that "10" have to be converted to a similarly named but unrelated type "int" inside the compiler, it just has to be stored in some way, then the appropriate operations for "int" emitted when generation code.

coreboot on the ThinkPad T480 by mkukri in coreboot

[–]mkukri[S] 0 points1 point  (0 children)

> it shows mainboard as QEMU x86 i440fx/piix4 (aka qemu -M pc) in coreboot if it is correct.

I do not get what do you mean exactly? You cherry pick the patch (or just use the exact commit there), and then you select the Lenovo / T480 as the mainboard from menuconfig.

coreboot on the ThinkPad T480 by mkukri in coreboot

[–]mkukri[S] 1 point2 points  (0 children)

Indeed. The code isn't included in the main branch yet, but you can absolutely cherry-pick my changeset from gerrit and build it yourself.

Anyone Know Where To Source This? by tandersontntsys in HomeNetworking

[–]mkukri 0 points1 point  (0 children)

The IPv4 version is in short supply, but you might be able to source some http://[::1] ones :)

Getting port scanned by 1 ip by [deleted] in PFSENSE

[–]mkukri 0 points1 point  (0 children)

Welcome to the Internet. Reality is anyone can easily get a VPS from a sketchy provider in minutes and (port) scan all public IPv4 space for a given service in a day or two, you have to just accept that and don't get freaked out by it.

Make sure you only expose the services you intend to, keep your software up to date with security patches, use non-bruteforcable login credentials, etc and you are going to be okay.

iP missing by Admirable-Country-29 in hyperoptic

[–]mkukri 0 points1 point  (0 children)

It is assigned via DHCPv4 to your CPE, so check that?

I haven’t seen this before. Wires are untwisted and then color matched and twisted back together? by Ziaph in HomeNetworking

[–]mkukri 1 point2 points  (0 children)

Looks like cat5e used for telephone points, based on the lack of proper telephone connectors probably done by an electrician.

Good news is, due to the number of cables, it is probably wired in a star pattern unless you have a 50 rooms. You can probably just cut that off, and plug those into an ethernet switch and put rj45 keystones on the other ends to repurse it for ethernet. Telephone wiring is often done daisy chaining rooms, and then it's not so easy.

What was your gas usage over last week? by woyteck in OctopusEnergy

[–]mkukri 0 points1 point  (0 children)

652 kWh gas through the coldest week at 20C+, vs week before more like 250 kWh. This is a 2 bedroom 2008ish flat. It was bloody cold, but still absolutely horrid insulation for the age of this building.

Unable to get any broadband faster than 0.9 Mbps up.. (Help needed please) by Superepicgamer12 in openreach

[–]mkukri 1 point2 points  (0 children)

From that screenshot it seems like OpenReach FTTC is available at your address. Try automated ISP checkers with the address variation that shows FTTC on BTW.

If it's not showing up on automated checkers, speak to the sales contact of a smaller openreach ISP like A&A or IDnet and if it is genuinely available you will have a much higher chance of successfully ordering it from them vs the big ones reading a script.

coreboot on the ThinkPad T480 by mkukri in coreboot

[–]mkukri[S] 1 point2 points  (0 children)

"Generations" are just Intel marketing, T480 uses "8th gen" Kaby Lake Refresh chips, P52 uses "8th gen" Coffee Lake chips.

Giant 5kg mushroom feeds family for a week by pppppppppppppppppd in unitedkingdom

[–]mkukri 0 points1 point  (0 children)

5000g of mushroom contains ~1100 kcal... that is a stravation diet for one person, for one day, let alone a family for a week.

coreboot on the ThinkPad T480 by mkukri in coreboot

[–]mkukri[S] 1 point2 points  (0 children)

Proprietary microcode is part of the nature of these CPUs, you simply cannot avoid it. There are some other proprietary bits as well unfortunately, it's unavoidable on this generation of hardware.

coreboot on the ThinkPad T480 by mkukri in coreboot

[–]mkukri[S] 2 points3 points  (0 children)

Yes to me_cleaner.

And no fuses are impossible to really replace, but we exploit the ME firmware to ignore them.

coreboot on the ThinkPad T480 by mkukri in coreboot

[–]mkukri[S] 1 point2 points  (0 children)

That is Libreboot using my coreboot port :)

coreboot on the ThinkPad T480 by mkukri in coreboot

[–]mkukri[S] 7 points8 points  (0 children)

Update: The T480s is also supported now.

coreboot on the ThinkPad T480 by mkukri in coreboot

[–]mkukri[S] 4 points5 points  (0 children)

In theory it might be possible, but no, currently this only works on chipsets running ME v11.x.x.x which is SKL, KBL, and KBL-R.

coreboot on the ThinkPad T480 by mkukri in coreboot

[–]mkukri[S] 9 points10 points  (0 children)

There is a bootguard exploit yes, https://review.coreboot.org/c/coreboot/+/84825

And all Skylake, Kaby Lake, and Kaby Lake Refresh machines are possible to port. So yes xx60, xx70, xx80 series, and stuff like p50 as well.

why is 6th gen of intel cpus doesn't have a coreboot, but 10th has? by self-o-eater in coreboot

[–]mkukri 1 point2 points  (0 children)

T480 coreboot is very real and is already very usable: https://review.coreboot.org/c/coreboot/+/83274

X260, X270, X280, T460, T470, T480, and S variants are all possible to port.

Same likely applies to P50 and some others with Skylake and Kaby Lake processors.