Toots for RoganDawes@infosec.exchange account

Written by Rogan Dawes on 2025-01-06 at 06:06

A friend bought a Klein bottle from him a few months ago, and collected it personally. Said it was a life highlight for him. Really nice guy!

=> More informations about this toot | View the thread

Written by Rogan Dawes on 2024-11-21 at 08:56

@trini Do you mind if I ask a u-boot-adjacent question? I'm trying to create an empty file on a UBIFS filesystem on a parallel NAND flash removed from a High Assurance Boot i.mx6 host (in order to enable a shell).

I have dumped the flash to file using an xgecu reader, processed that using imx-nand-tools to decode the FCB, ECC, etc. I now have a 128MB file that I have sliced up into partition-sized pieces, which I have written to nandsim, created with appropriately sized partitions.

I'm currently struggling to attach UBI to the various mtd partitions, which hopefully I will figure out, but I'm still going to be stuck going back to an image that I can write to the flash. imx-nand-tools is one way only, unfortunately.

How would you approach this?

I'm starting to think that the best way would be to find another i.MX6 device with parallel NAND flash, but no HAB, swap the chips, bootstrap u-boot via USB on the new device, then try to mount the partitions that way.

Any other approaches you can think of?

=> More informations about this toot | View the thread

Written by Rogan Dawes on 2024-11-16 at 19:59

@virtualabs Trying to use your imx-nand-tools repo to parse a Spansion S34ML01G1 TSOP48 nand flash from an i.MX6-based device. imx-nand-convert is failing with:

ecc = bchlib.BCH(8219, ecc_strength, reverse=True)

TypeError: 'reverse' is an invalid keyword argument for this function

I presume that bchlib has updated its api in the intervening 5 years. I did try reverting to an older release from around the time of the commits, but had no success with that approach.

Any suggestion on how to fix this?

=> More informations about this toot | View the thread

Written by Rogan Dawes on 2024-08-12 at 08:12

[#]catstodon #WorkCompanions

=> View attached media

=> More informations about this toot | View the thread

=> This profile with reblog | Go to RoganDawes@infosec.exchange account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109342844358531364
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
315.542566 milliseconds
Gemini-to-HTML Time
1.436716 milliseconds

This content has been proxied by September (3851b).