Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Unnamed
Sunday, February 25th, 2007 at 2:34:09pm UTC 

  1. Index: bootloader/ipod.c
  2. ===================================================================
  3. --- bootloader/ipod.c   (revision 12477)
  4. +++ bootloader/ipod.c   (working copy)
  5. @@ -228,6 +228,7 @@
  6.      bool button_was_held;
  7.      struct partinfo* pinfo;
  8.      unsigned short* identify_info;
  9. +    unsigned int* x = 0x40017f00;
  10.  
  11.      /* Check the button hold status as soon as possible - to
  12.         give the user maximum chance to turn it off in order to
  13. @@ -284,6 +285,8 @@
  14.      printf("Rockbox boot loader");
  15.      printf("Version: 20%s", version);
  16.      printf("IPOD version: 0x%08x", IPOD_HW_REVISION);
  17. +    printf("r0=%08x r2=%08x r3=%08x",x[0],x[1],x[2]);
  18. +    fatal_error();
  19.  
  20.      i=ata_init();
  21.      if (i==0) {
  22. Index: firmware/target/arm/crt0-pp-bl.S
  23. ===================================================================
  24. --- firmware/target/arm/crt0-pp-bl.S    (revision 12477)
  25. +++ firmware/target/arm/crt0-pp-bl.S    (working copy)
  26. @@ -50,6 +50,9 @@
  27.      .equ    CACHE_CTRL, 0x6000c000
  28.  #endif
  29.  
  30. +    ldr    r7, =0x40017f00    @ 96KB into IRAM - only for video/nano...
  31. +    stmia  r7!, {r0, r2, r3}
  32. +
  33.      msr    cpsr_c, #0xd3 /* enter supervisor mode, disable IRQ */
  34.  
  35.  /* 1 - Copy the bootloader to IRAM */

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right