Is this the final or something alpha/beta/???
Follow up question, has anyone gotten it to run a payload?
if you don’t want to answer publicly just blink or grunt or whistle twice.
Got a smashed up Lite on the way to experiment with.Is this the final or something alpha/beta/???
Follow up question, has anyone gotten it to run a payload?
if you don’t want to answer publicly just blink or grunt or whistle twice.
No idea... The guy simply asked where the leak firmware is. Since it's just in this thread then I simply pointed it to him that's just it nothing muchIs this the final or something alpha/beta/???
Follow up question, has anyone gotten it to run a payload?
if you don’t want to answer publicly just blink or grunt or whistle twice.
Wait you guys have insider info?No idea... The guy simply asked where the leak firmware is. Since it's just in this thread then I simply pointed it to him that's just it nothing much
I'm not one of these new users that provide leaks or have insider info.
yes I'm the emmc guy (emmc_santa)Exactly, I'm like "what are these bozos talkin about" lol
Wish there was a better place of discussion for PikoFly that was for people a little more on the 'up n up'
(I thought I recognized your name too, haven't peaked in the server in a while but you're the NAND guy, hope everything's been well )
Yes you are absolutely right, but I don't think this is a big problem if the picofly get's reverse engineered.While that's true, before booting in to Hekate a chain loader payload is ran from the NAND first. The chip just glitches the Switch in to running that instead of the official bootloader and then the chain loader runs Hekate. Because the chain loader runs before Hekate it has to do some hardware initialization stuff which can only be done once per boot. If done incorrectly the Linux kernel can't boot. Afaik from what I've been told by people doing hw research on the Switch the current chip firmwares (Spacecraft, HWFly-NX) all initialize the hardware incorrectly so HOS can boot but booting non-HOS firmwares is impossible. This can be fixed by replacing the chain loader on the NAND but then if the chip reflashes the NAND for whatever reason it will revert to being unable to boot Linux. The chip itself needs to contain an updated chain loading payload.
pacman -Syuu
several times until you get the message: "there is nothing to do"
.pacman -Syu --noconfirm
pacman -Su --noconfirm
pacman -S --noconfirm git make libtool pkg-config autoconf automake texinfo wget mingw-w64-x86_64-toolchain mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-python mingw-w64-x86_64-libusb
cd ~
wget https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-libusb-1.0.26-1-any.pkg.tar.zst
pacman -U --noconfirm https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-libusb-1.0.26-1-any.pkg.tar.zst
cd ~
git clone -b master https://github.com/raspberrypi/pico-sdk.git
cd pico-sdk
git submodule update --init
cd ..
git clone -b master https://github.com/raspberrypi/pico-examples.git
export PICO_SDK_PATH=~/pico-sdk
gcc
gcc.exe: fatal error: no input files
compilation terminated.
ld
C:\msys64\mingw64\bin\ld.exe: no input files
make
make: *** No targets specified and no makefile found. Stop.
mingw32-make
mingw32-make: *** No targets specified and no makefile found. Stop.
echo $PICO_SDK_PATH
/home/<YOURUSER>/pico-sdk
cd ~
git clone -b master https://github.com/raspberrypi/picotool.git
cd picotool
mkdir build
cd build
cmake -G "MSYS Makefiles" -DPC_LIBUSB_INCLUDEDIR="/mingw64/include/libusb-1.0" ..
make -j
$ cmake -G "MSYS Makefiles" -DPC_LIBUSB_INCLUDEDIR="/mingw64/include/libusb-1.0" ..
CMake Error: Could not create named generator MSYS Makefiles
Generators
* Unix Makefiles = Generates standard UNIX makefiles.
Ninja = Generates build.ninja files.
Ninja Multi-Config = Generates build-<Config>.ninja files.
............
$ cmake -G "MSYS Makefiles" -DPC_LIBUSB_INCLUDEDIR="/mingw64/include/libusb-1.0" ..
CMake Error: Could not create named generator MSYS Makefiles
Generators
* Unix Makefiles = Generates standard UNIX makefiles.
Ninja = Generates build.ninja files.
Ninja Multi-Config = Generates build-<Config>.ninja files.
CodeBlocks - Ninja = Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
CodeLite - Ninja = Generates CodeLite project files.
CodeLite - Unix Makefiles = Generates CodeLite project files.
Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
Kate - Ninja = Generates Kate project files.
Kate - Unix Makefiles = Generates Kate project files.
Sublime Text 2 - Ninja = Generates Sublime Text 2 project files.
Sublime Text 2 - Unix Makefiles
= Generates Sublime Text 2 project files.
$ which cmake
/usr/bin/cmake
$ export PATH=/mingw64/bin:$PATH
$ which cmake
/mingw64/bin/cmake
$ cmake -G "MSYS Makefiles" -DPC_LIBUSB_INCLUDEDIR="/mingw64/include/libusb-1.0" ..
cp /mingw64/bin/libusb-1.0.dll .
cp /mingw64/bin/libgcc_s_seh-1.dll .
cp /mingw64/bin/libstdc++-6.dll .
cp /mingw64/bin/libwinpthread-1.dll .
./picotool.exe
$ ./picotool.exe info
No accessible RP2040 devices in BOOTSEL mode were found.
but:
Device at bus 2, address 1 appears to be a RP2040 device in BOOTSEL mode, but picotool was unable to connect.
Glad to hear!But I learned much and switched over to hack an fire stick over emmc.
srsly?MinGW
[КОД]
ROM loaded, initializing rp2040
processor state initialized
1c movs r3, #0 ; 0x00
1e ldrh r2, [r0, #0] ; 0x0
20 cmp r2, r3
22 beq.n 2c ; PC + 10
24 ldrh r3, [r0, #2] ; 0x2
26 adds r0, #4 ; 0x04
28 cmp r1, r2
2a bne.n 1c ; PC + -14
2c adds r0, r3, #0 ;0x0
2e bx sp
30 wfi
32 b.n 30
34 mov ip, sp
36 (32-bit)
38 (32-bit)
3a ldr r0, [pc, #632] ; 0x0278
3c movs r1, #0 ; 0x00
3e str r1, [r0, #0] ; 0x0
40 str r1, [r0, #4] ; 0x4
42 mov pc, ip
44 ldr r0, [pc, #624] ; 0x0270
46 movs r1, #0 ; 0x00
48 mvns r1, r1
4a str r1, [r0, #0] ; 0x0
4c str r1, [r0, #4] ; 0x4
4e bx sp
50 add r1, pc, #580
52 lsls r4, r4, #2
54 subs r1, r1, #0 ;0x0
56 nop ; movs r0, r0
58 orrs r0, r5
5a movs r0, #41 ; 0x29
5c adds r0, #50 ; 0x32
5e adds r0, #50 ; 0x32
60 strh r0, [r4, r0]
62 strb r1, [r4, #13]
64 str r0, [r6, #36] ; 0x24 imm5
66 strb r5, [r4, #9]
68 ldrb r2, [r6, #5]
6a str r0, [r4, r0]
6c movs r0, #105 ; 0x69
6e strb r4, [r2, #9]
70 str r1, [r4, #68] ; 0x44
72 ldr r1, [r5, #100] ; 0x64
74 movs r0, #103 ; 0x67
76 ldrb r4, [r1, #17]
78 lsls r4, r4, #1
7a adds r3, #80 ; 0x50
7c lsls r1, r3, #11
7e adds r3, #82 ; 0x52
80 lsls r5, r7, #11
82 adds r3, #76 ; 0x4c
84 lsls r7, r4, #12
86 adds r3, #84 ; 0x54
88 lsls r7, r3, #13
8a strh r5, [r1, r5]
8c movs r6, #221 ; 0xdd
8e adds r4, #83 ; 0x53
90 movs r6, #209 ; 0xd1
92 muls r5, r1[/CODE]
Ладно, ребята, я закинул прошивку в какой-нибудь дизассемблер и получил THUMB код
Не знаю, мусор это или нет, но я выкладываю сюда
Code:ROM loaded, initializing rp2040 processor state initialized 1c movs r3, #0 ; 0x00 1e ldrh r2, [r0, #0] ; 0x0 20 cmp r2, r3 22 beq.n 2c ; PC + 10 24 ldrh r3, [r0, #2] ; 0x2 26 adds r0, #4 ; 0x04 28 cmp r1, r2 2a bne.n 1c ; PC + -14 2c adds r0, r3, #0 ;0x0 2e bx sp 30 wfi 32 b.n 30 34 mov ip, sp 36 (32-bit) 38 (32-bit) 3a ldr r0, [pc, #632] ; 0x0278 3c movs r1, #0 ; 0x00 3e str r1, [r0, #0] ; 0x0 40 str r1, [r0, #4] ; 0x4 42 mov pc, ip 44 ldr r0, [pc, #624] ; 0x0270 46 movs r1, #0 ; 0x00 48 mvns r1, r1 4a str r1, [r0, #0] ; 0x0 4c str r1, [r0, #4] ; 0x4 4e bx sp 50 add r1, pc, #580 52 lsls r4, r4, #2 54 subs r1, r1, #0 ;0x0 56 nop ; movs r0, r0 58 orrs r0, r5 5a movs r0, #41 ; 0x29 5c adds r0, #50 ; 0x32 5e adds r0, #50 ; 0x32 60 strh r0, [r4, r0] 62 strb r1, [r4, #13] 64 str r0, [r6, #36] ; 0x24 imm5 66 strb r5, [r4, #9] 68 ldrb r2, [r6, #5] 6a str r0, [r4, r0] 6c movs r0, #105 ; 0x69 6e strb r4, [r2, #9] 70 str r1, [r4, #68] ; 0x44 72 ldr r1, [r5, #100] ; 0x64 74 movs r0, #103 ; 0x67 76 ldrb r4, [r1, #17] 78 lsls r4, r4, #1 7a adds r3, #80 ; 0x50 7c lsls r1, r3, #11 7e adds r3, #82 ; 0x52 80 lsls r5, r7, #11 82 adds r3, #76 ; 0x4c 84 lsls r7, r4, #12 86 adds r3, #84 ; 0x54 88 lsls r7, r3, #13 8a strh r5, [r1, r5] 8c movs r6, #221 ; 0xdd 8e adds r4, #83 ; 0x53 90 movs r6, #209 ; 0xd1 92 muls r5, r1
Sry, Chrome automatic translate itwrite in english, it's official here by the forum rules, and the moderators here are horrible racists, they tear down any non-english texts without even looking
Language isn't a race, but aight.write in english, it's official here by the forum rules, and the moderators here are horrible racists, they tear down any non-english texts without even looking
that sounds unnecessarily hard, especially considering sp1 and sp2Anyone done a wire install without a CPU flex?
Yes, it worksAnyone done a wire install without a CPU flex?