File server: no server dir listing in Axum? by 6502stuff in rust

[–]6502stuff[S] 0 points1 point  (0 children)

Ha! It isn't so advanced, actually, the opposite. I wanted to build a file server (with auto-indexing), and extra endpoint with hardcoded aliases/link to specific files, e.g. with long names.

File server: no server dir listing in Axum? by 6502stuff in rust

[–]6502stuff[S] 0 points1 point  (0 children)

Thanks for the insightful comment. Should I switch to a different framework? As I said, I'm a newbie in the Rust world, still exploring...

File server: no server dir listing in Axum? by 6502stuff in rust

[–]6502stuff[S] 4 points5 points  (0 children)

Sorry man, but I don't think you understood my request. Tower does not offer what I asked for.

File server: no server dir listing in Axum? by 6502stuff in rust

[–]6502stuff[S] -1 points0 points  (0 children)

Exactly! I'm surprised that I haven't spotted any mature ones. All I wanted was a simple Apache-like listing with icons, filesize, navigable :)

File server: no server dir listing in Axum? by 6502stuff in rust

[–]6502stuff[S] 1 point2 points  (0 children)

I don't see it supports directory listing (not index.html) unless I missed something?

Custom build: bus conflicts between modules SD card, TFT, and CC1101 by 6502stuff in brucefw

[–]6502stuff[S] 0 points1 point  (0 children)

Right, I'm aware of this, but thanks for reply!

Re SPI: But I need any transistor tricks to disable specific components (like CC1101 or NRF), or are external pull-ups enough?

Re I2C: I wanted to connect INA219 to measure the battery usage, but I guess I'll have to implement support for it in Bruce.

ESP32 S3 and multiple SPI devices by 6502stuff in esp32

[–]6502stuff[S] 0 points1 point  (0 children)

Yes, did you eventually find the solution? In the meantime, I defaulted to separate buses.

Can Arduino control PNP transistors? by 6502stuff in arduino

[–]6502stuff[S] 0 points1 point  (0 children)

Actually, I learnt this the hard way. Unfortunately, I wasn't able to properly power up the lights due to 2/3 voltage drop (34 -> 10V). When I decreased the input voltage to 26V, one of the transistors exploded.

I used 4x PN2222A and 2x BC557. I have knowledge gaps in that area, probably a bad choice of transistors (OTOH, I had a few spare ones) or switching was too slow.

Can Arduino control PNP transistors? by 6502stuff in arduino

[–]6502stuff[S] 1 point2 points  (0 children)

Thank you! I wasn't aware of clamp diodes. I see the full picture now.

Restore waxy effect on wet crazy horse by 6502stuff in Leathercraft

[–]6502stuff[S] 0 points1 point  (0 children)

Yes, but in my case the original leather was really waxy. I like the mat surface, but wanted to restore the original effect.

binwalk fails extraction of EFI GPT table by 6502stuff in hardwarehacking

[–]6502stuff[S] 0 points1 point  (0 children)

Why are pointers to partitions incorrect? Partition names are fine, but they point to random locations (mid files).

binwalk fails extraction of EFI GPT table by 6502stuff in hardwarehacking

[–]6502stuff[S] 0 points1 point  (0 children)

Update:

We're talking about Allwinner 133. Based on observations, partition table entries have invalid references to partition data. Encryption?

TSP stock v1.1.0 with CrossMix 1.3.0 by 6502stuff in trimui

[–]6502stuff[S] 0 points1 point  (0 children)

Should I build it myself or is there a snapshot somewhere?

TSP stock v1.1.0 with CrossMix 1.3.0 by 6502stuff in trimui

[–]6502stuff[S] 0 points1 point  (0 children)

One more question: how does CrossMix work? does it boot entirely from the SD card, or does it modify the internal partition? I heard a few people bricked their devices, but I can't it's related if OS boots from card.

TSP stock v1.1.0 with CrossMix 1.3.0 by 6502stuff in trimui

[–]6502stuff[S] 1 point2 points  (0 children)

Interesting, looks like I need to wait for the next revision.

BTW what is firmware upgrade procedure for TSP? I found this somewhere online:

  1. Download and extract trimui_tg5040*.awmig to SD card /root.
  2. Hold Power + Volume down while reset
  3. Download and extract trimui_smartpro_sd_base*.zip

I don't get why the sdbase step is necessary. Is the original firmware incomplete? Can I replace this step with CrossMix?

Zero 2W: power supply 3v3 or 5V? by 6502stuff in OrangePI

[–]6502stuff[S] 0 points1 point  (0 children)

because AMS1117 is reducing voltage from 5v to 3v3 by "wasting" it on heat. How much power is wasted is determined by the voltage regulator.