Hacking Debug to sd card as log.txt

scooby74029

"fake coder"
OP
Member
Joined
May 7, 2010
Messages
1,271
Trophies
0
Age
46
Location
oklahoma, USA
XP
684
Country
United States
Hello guys

I was wondering if i can send debug info to the sd card in stead of to the computer because i have not been able to get a usb gecko

if someone knows if this is possible i would appreciate the help getting everything setup

thanks for any help
 

megazig

SU
Member
Joined
Oct 25, 2008
Messages
467
Trophies
0
XP
232
Country
United States
since sneek has sd capabilities for the nand, you can use that with normal file opening to write to a file there. just do the same as you would reading/writing other files
 

giantpune

Well-Known Member
Member
Joined
Apr 10, 2009
Messages
2,860
Trophies
0
XP
213
Country
United States
youre going to want to add a ioctl for it. since only the fs module actually writes to the "nand". so, create the file there and send all the dbgprintf() from the other modules to it.

to create the file, look at how the di module creates its config file. for the ioctl, look at how the es/di modules determines if sneek or uneek is running.
 

megazig

SU
Member
Joined
Oct 25, 2008
Messages
467
Trophies
0
XP
232
Country
United States
on the FAQ it says to add the -v or -s options, I think, to either IOSKPatch or ELFins.

more details are there, but that's somthing to go off. you can also run both apps with no options to find what they do
 

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Shape @ Shape:
    b-b-b-BLAST PROCESSING
    +1
  • The Real Jdbye @ The Real Jdbye:
    gee, it sure is BORING around here...
  • K3N1 @ K3N1:
    Especially now
  • ZhiShuiTingLan @ ZhiShuiTingLan:
    How to upgrade fast
  • ZhiShuiTingLan @ ZhiShuiTingLan:
    I can't understand English at all, I can only rely on translation
  • The Real Jdbye @ The Real Jdbye:
    Upgrading quickly can depend on what you're trying to upgrade. Can you provide more information about what you're looking to upgrade, and what you're hoping to achieve by upgrading quickly?
    +1
  • K3N1 @ K3N1:
    It's a good idea to wait it out and let things happen naturally tinkering with update files can cause worse than good
    +1
  • BlazeMasterBM @ BlazeMasterBM:
    i farted
  • x65943 @ x65943:
    Stop eating so much garlics
  • Shape @ Shape:
    Did someone say upgrading? Are we trying to upgrade the system or the toaster?
  • K3N1 @ K3N1:
    My toaster is IP68 so I work on it in my bathtub
    +1
  • Shape @ Shape:
    What kind of thermal paste are you using for on bathtub's vCPU hypervisor
  • K3N1 @ K3N1:
    Corsair
    +1
  • Shape @ Shape:
    That's a good, real thermal paste. I bet it's given you great results.
  • K3N1 @ K3N1:
    I'm a huge fanboy and brand loyal so we can argue about the kind you use
  • Shape @ Shape:
    Jif. I get horrible results, I'm going through probably 12 jars of it a week and at least 8 PCs.
  • Shape @ Shape:
    It's no argument.
  • K3N1 @ K3N1:
    Try jelly it makes it moist
    +1
  • Shape @ Shape:
    Why is corsair the best paste tho fr?
  • K3N1 @ K3N1:
    Because some random guy on the internet said it was
    +1
    K3N1 @ K3N1: Because some random guy on the internet said it was +1