Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Sansa E200V2 Bootloader is broken in master
« previous next »
  • Print
Pages: 1 2 [3]

Author Topic: Sansa E200V2 Bootloader is broken in master  (Read 11235 times)

Offline amachronic

  • Developer
  • Member
  • *
  • Posts: 304
Re: Sansa E200V2 Bootloader is broken in master
« Reply #30 on: March 31, 2024, 12:53:30 PM »
Quote from: bahus on March 31, 2024, 03:38:37 AM
So it makes my changes in unicode.c unnecessary, doesn't it?

Yes.

Quote from: bahus on March 31, 2024, 03:38:37 AM
Also backtraces are not present in current bootloader release so it's not something we removed from released functionality.

OK, if it's not a regression that's fine with me.

Everything I've done is merged so let me know when you want to merge your changes. I also merged the multiboot v1 patches.
Logged

Offline bahus

  • Member
  • *
  • Posts: 207
Re: Sansa E200V2 Bootloader is broken in master
« Reply #31 on: April 01, 2024, 02:31:11 AM »
Quote from: Bilgus on March 30, 2024, 08:50:05 AM
build them on top of his patchsets he isn't going to get upset

Not sure what you meant. But I've already cherry picked amachronic's patches to my local branch and reported results:
Quote from: bahus on March 30, 2024, 03:41:15 AM
Quote from: Bilgus on March 30, 2024, 12:18:17 AM
Also we don't make new bootloaders often so could you test some of these patches with your builds?

It works for me and adds around 100 bytes to thumb  size (119676 without, 119759 with those patches)
« Last Edit: April 01, 2024, 09:10:21 AM by bahus »
Logged

Offline bahus

  • Member
  • *
  • Posts: 207
Re: Sansa E200V2 Bootloader is broken in master
« Reply #32 on: April 01, 2024, 02:51:32 AM »
Quote from: amachronic on March 31, 2024, 12:53:30 PM
Everything I've done is merged so let me know when you want to merge your changes. I also merged the multiboot v1 patches.

I tested bootloader on top of the latest changes -  it works. So I think it's ready to be merged.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: Sansa E200V2 Bootloader is broken in master
« Reply #33 on: April 03, 2024, 03:44:27 PM »
Quote from: bahus on March 29, 2024, 05:38:58 AM
Out of curiosity I tested this no thumb build without `usb_storage_disconnect` fix. Still doesn't boot. So it doesn't look like some alignment issue to me. `usb_storage_disconnect` is the cause...

agreed -- thatd be our smoking gun
Logged

Offline bahus

  • Member
  • *
  • Posts: 207
Re: Sansa E200V2 Bootloader is broken in master
« Reply #34 on: September 27, 2024, 12:50:03 PM »
Quote from: Bilgus on March 26, 2024, 07:45:15 PM
re unstable sd card try boosting dcdc voltages or force into non HS mode in the sd driver

It's been long time but JFYI. Changing voltage and forcing non HS mode didn't help. What helped - unboosting cpu. Finally found the culprit. Not sure why but with boosted CPU sd writes are pretty fast fail on my e200v2 (only writes, reads are fine - often fails even on bookmark creation). And after cpu_boost(false) gigs are written without any errors.
It's not something sd card specific - I tried two different brands (samsung and sandisk).
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1192
Re: Sansa E200V2 Bootloader is broken in master
« Reply #35 on: September 27, 2024, 03:38:52 PM »
that could still be pointing to a voltage issue, it could also be a faulty chip could be an issue with our context switching and it could also be clocked wrong because of a wonky multiplier between the cpu and sd controller
Logged

Offline bahus

  • Member
  • *
  • Posts: 207
Re: Sansa E200V2 Bootloader is broken in master
« Reply #36 on: September 30, 2024, 05:46:41 AM »
Quote from: Bilgus on September 27, 2024, 03:38:52 PM
Yeah might be. The fact that wide bus doesn't work for amsv1 also suggests some other issue. If you have any ideas what else can be done - let me know. I will happily try your suggestions.
Logged

  • Print
Pages: 1 2 [3]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Sansa E200V2 Bootloader is broken in master
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.142 seconds with 21 queries.