Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lenovo Thinkpad Edge E531 - Machine compatible but unsupported #145

Open
corey-recai opened this issue Jan 15, 2025 · 6 comments
Open

Lenovo Thinkpad Edge E531 - Machine compatible but unsupported #145

corey-recai opened this issue Jan 15, 2025 · 6 comments

Comments

@corey-recai
Copy link

Machine: EdgeE531
BIOS: HEET52WW
Version: 1.33
Flashsize: 1288

@corey-recai
Copy link
Author

corey-recai commented Jan 15, 2025

Can I get a ref to the flashrom_dirty... version you are using? Trying to avoid having to patch it myself to enable internal:laptop programmer for my system.

@corey-recai
Copy link
Author

corey-recai commented Jan 15, 2025

Attempting to make some changes to the 1vyrain.iso image -- looking to include ifuse to allow for use of an iPhone personal hotspot as a modem, also looking to add packages like git and ssh on the fly. Can you also share packaging method for the iso, tried repacking with an updated filesystem.squashfs and no luck.

@corey-recai
Copy link
Author

Attempting to make some changes to the 1vyrain.iso image -- looking to include ifuse to allow for use of an iPhone personal hotspot as a modem, also looking to add packages like git and ssh on the fly. Can you also share packaging method for the iso, tried repacking with an updated filesystem.squashfs and no luck.

...forgot to write EFI...

@digmorepaka
Copy link
Collaborator

Can I get a ref to the flashrom_dirty... version you are using? Trying to avoid having to patch it myself to enable internal:laptop programmer for my system.

From memory, the only difference was removing one of the two macronix 128Mbit ICs, it supported MX25L12805D and another one and they detected as the same one. It was easier to remove support for the other one in the flashrom build so that it would automatically go to the correct one. Don't have the files on hand so I can't directly provide a diff, sorry.

Attempting to make some changes to the 1vyrain.iso image -- looking to include ifuse to allow for use of an iPhone personal hotspot as a modem, also looking to add packages like git and ssh on the fly. Can you also share packaging method for the iso, tried repacking with an updated filesystem.squashfs and no luck.

Don't have the build system on hand, but here's a script I found in my notes. If i recall correctly it was just debian and a couple needed packages installed into a folder.

#!/bin/bash
mksquashfs \
        ./chroot/ \
        ./image/live/filesystem.squashfs \
        -e boot

xorriso \
        -as mkisofs \
        -iso-level 3 \
        -full-iso9660-filenames \
        -volid "1VYRAIN" \
        -eltorito-alt-boot \
                -e EFI/efiboot.img \
                -no-emul-boot \
        -append_partition 2 0xef ./scratch/efiboot.img \
        -output "./1vyrain.iso" \
        -graft-points \
                "./image/" \
                /EFI/efiboot.img=./scratch/efiboot.img

looking to include ifuse to allow for use of an iPhone personal hotspot as a modem, also looking to add packages like git and ssh on the fly

Personally I think the current image is a bit of a mess. Maybe one day I might re-do it with buildroot if you feel like investing time into it, I wouldn't recommend basing it off our image. I'd like to get the size down a bunch+make it more resistant to things like etcher or ventoy breaking images like they tend to do. But chances are slim on me doing it any time soon.

@corey-recai
Copy link
Author

corey-recai commented Jan 16, 2025

Got it. Took a break for the day going to re-attempt at some point this week, hopefully tomorrow.

The chip in reference for my system is a Winbond W25Q64FV 64Mbit, and W25Q64.V is listed as supported; need to scour some datasheets and resources to see if there are any discrepancies in denotation.

Definitely keen on looking at packaging a cleaner image, although I do think the current one is quite tidy. Working from Clear Linux, an uphill battle, the goal is to write coreboot then build a custom Clear Linux image, a rewrite falls inline with the trajectory.

@digmorepaka
Copy link
Collaborator

digmorepaka commented Jan 16, 2025

W25Q64 will be recognized directly without need for selecting a particular variant manually. It's just MX that is the trouble child. All of the primary models also use dual flash chips(W25Q64 / MX25L6406E + W25Q32 / MX25L3206E) with the rare 1x 128Mbit popping up, and T430s being standard with the 128Mbit as well. Single 64Mbit tends to be on the low end crap due to consumer IME binary that is much smaller.
Machines with two chips show up as "Opaque flash chip" and the chipset does the heavy lifting there and from OS it looks like a single 12MB chip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants