WIP [Trinket] [Rebug] [Others] SWITCHBOOT_UF2 / FUSEE_UF2 modchip software

Discussion in 'Switch - Backup Loaders & Modchips' started by mattytrog, Dec 18, 2018.

  1. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    You need Trinket/rebug I think as you are using the new methods if I remeber correctly.
     
  2. peteruk

    peteruk GBAtemp Addict

    Member
    13
    Jun 26, 2015
    1.3.2 installed and working well, thank you for all the continued updates and support :)
     
    mattytrog likes this.
  3. romracer

    romracer Member

    Newcomer
    1
    Dec 11, 2017
    United States
    Is bootlogo drawing messed up for you on 1.3.2? I get no boot logo after the Sept screen minus this little bar on the left edge of the screen.
     
  4. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    There is no built-in bootlogo. You need to add one.
     
    peteruk likes this.
  5. peteruk

    peteruk GBAtemp Addict

    Member
    13
    Jun 26, 2015
    As standard there isn't one, I think you must add one in

    It's running extremely well for me, this chip software keeps getting better and better.... everyday is June 15th with Mattytrog at the wheel
     
  6. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Lol nah... Just bits and bobs added. Thank-you anyway! :)
     
    peteruk likes this.
  7. romracer

    romracer Member

    Newcomer
    1
    Dec 11, 2017
    United States
    Right. I did. Just used the standard Atmosphere boot logo. Worked fine on Switchboot 1.2.2 and Hekate 4.10 and 4.10.1 with the same image and INI file.
     
  8. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Works fine here... Yeah I see the strip on the edge. Will fix that for next release.
     
  9. romracer

    romracer Member

    Newcomer
    1
    Dec 11, 2017
    United States
    No, it doesn't. Try an older Switchboot, or Hekate to see the difference. After the Sept screen, the boot logo should display again and not be immediately erased.

    From power off, it should go: Boot logo, Sept screen, Boot logo, Nintendo Logo, Switch Logo.

    Switchboot 1.3.2 is going: Boot logo, Sept screen, Boot logo immediately erased to the last 10 pixels or something, Nintendo logo, Switch logo.
     
    Last edited by romracer, Apr 27, 2019
  10. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom

    Ummm...OK

    I can add a delay if you like to stop the fb clearing so quickly...

    The boottime has got faster. Thats why is disappears quickly but I can slow it down if you wish.

    There is also a boot delay option.
     
    peteruk likes this.
  11. romracer

    romracer Member

    Newcomer
    1
    Dec 11, 2017
    United States
    Boot delay is set to 2 or 3 for me. But boot delay is before the Sept screen. Spend 5 minutes trying Hekate or an older Switchboot to see the difference. The framebuffer clearing is not because the boot sped-up, unless by that you mean your modification to the code jumps to clearing the framebuffer while still doing other stuff in the background.
     
  12. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    The FB is cleared as soon as boot begins (hence the "free (bootlogo);")
    If everything is ok, boot now commences immediately. A check is done at boot time. If "dump keys" was the reason for sept boot, this will continue. Otherwise boot will continue normally immediately. Like I say, I can put a short delay in (using boot time delay read from ini) before the buffer is freed.

    Not a big deal. Will put it in next version.
     
    peteruk likes this.
  13. Skater4599

    Skater4599 GBAtemp Advanced Fan

    Member
    6
    May 29, 2008
    United States
    United States
    Updated my Trinket from 1.10 to 1.3.2 and so far everything working great including the SXOS License.dat restore feature. Thanks for the continued work on this
     
    mattytrog likes this.
  14. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Thank you for the feedback sir!
     
  15. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    OK... Coming in next day or two... I say that because I`m decorating...

    V1.3.3 Changelog
    • Dump your nca files from emmc to your SD, decrypted from Contents/registered
    • Dump your emmc /save files to SD, decrypted from /save
    • Dump other emmc stuff decrypted
    • Graphic glitch showing max fw when fuse under 9 (you won`t see eg v.5.1.0, v6.1.0 on a different line)
    • After Sept has ran, bootlogo shows for time specified in autoboot delay setting (before it just flashed on and off)
    • Got rid of an artefact (on left side of screen when screen buffer emptied and boot begins - That annoying line!)
    Restore would be working, but I`m struggling with low-level access. FatFs doesn`t like writing to the emmc in a nutshell... Its lower down in the low-level somewhere I think.
    But its nearly done... Just tidying code up and trying to escape the missus.
     
    Last edited by mattytrog, May 1, 2019
    Sparacis and peteruk like this.
  16. Burkilos

    Burkilos Newbie

    Newcomer
    4
    Nov 21, 2005
    Canada
    I am using Mode 1 in a few switches and your Fusee-UF2 chain loader seems to be an ideal solution for a more permanent flash. I was trying to find a way to get Fusee-UF2 to chain launch SwitchBoot so it would be easier to update in the future. Having to reflash the trinket every time a new Atmosphère build or new Switch update is released is a bit problematic when helping friends update their hardware.

    The idea would be to have Fusee-UF2 launch a start.bin on SD root, actually SwitchBoot.bin, and then have SwitchBoot autolaunch payload.bin as usual. This would allow to update SwitchBoot by simply replacing start.bin with the latest version when it's updated. The problem is that both Fusee-UF2 and SwitchBoot are hardcoded to look for and launch payload.bin which results in an infinite loop if Fusee-UF2 launches Switchboot directly (as payload.bin).

    I've looked for the source Fusee payload you have created to simply change the payload filename but I cannot find it on your github. Do you have the source available somewhere or would you be willing to build a "special" UF2 version that looks for a different filename on SD root so we can chain Fusee-UF2 and SwitchBoot?

    Appreciate all the work you have been doing - have been a day 1 user of your trinket m0 solution. Cheers!
     
    mattytrog likes this.
  17. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    I think I hardcoded switchboot in there... I know I have now. Not uploaded it yet.And I forgot the source before...

    In summary...
    I have made a new Fusee-UF2 that works exactly the same as before... Apart from "switchboot.bin" is hardcoded... So if switchboot.bin is found, that will run instead of payload.bin... Of course if you have a payload.bin, that will be launched by "switchboot" as it has hijacked Fusee-UF2. If there is no Switchboot, payload.bin will launch as usual.

    Also... Fusee-UF2 will make a new text file on SD root (only 70 ish bytes) that contains strap info. If straps are connected and working, this file will tell you. This can then be viewed or imported into switchboot/hekate or whatever to be displayed.

    If you don't need the information, feel free to ignore it.

    So, the chain of command will go...

    Fusee-UF2 runs... Is switchboot present?

    Yes - run switchboot. No - run payload.bin... if neither are present, max77620 reboot state is reset and unit powered off.

    If yes, switchboot will launch your payload.bin as it has taken over from Fusee-UF2.
     
    Last edited by mattytrog, May 1, 2019
    Burkilos and peteruk like this.
  18. Burkilos

    Burkilos Newbie

    Newcomer
    4
    Nov 21, 2005
    Canada
    That sounds fantastic. I'll watch for your upload and give it a try when it's available.
     
    mattytrog likes this.
  19. roamin

    roamin Advanced Member

    Newcomer
    5
    Dec 4, 2006
    Australia
    i got it sorted, im slow to reply sorry.


    mine is old school method 3 ive worked out, the mod before you did straps and so on on the 4 wire install.
    need to resolder to bring it up to your current wiring but for now its working.
     
    mattytrog likes this.
  20. luzifers

    luzifers Member

    Newcomer
    2
    Aug 9, 2018
    Spain
    Madturbo123, did you finally find a solution for the RCMX86 usb problem?

    I have the same problems and I suspect that the IC USB logic chip is who is causing the issues.

    Did you try unsoldering straps?
     
Quick Reply
Draft saved Draft deleted
Loading...