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

Untitled
Tuesday, November 27th, 2007 at 2:55:07pm UTC 

  1. Index: firmware/export/config-gigabeat-s.h
  2. ===================================================================
  3. --- firmware/export/config-gigabeat-s.h (révision 15835)
  4. +++ firmware/export/config-gigabeat-s.h (copie de travail)
  5. @@ -6,7 +6,7 @@
  6.  #define TOSHIBA_GIGABEAT_S 1
  7.  
  8.  /* For Rolo and boot loader */
  9. -#define MODEL_NUMBER 19
  10. +#define MODEL_NUMBER 21
  11.  
  12.  /* define this if you have a bitmap LCD display */
  13.  #define HAVE_LCD_BITMAP
  14. Index: firmware/target/arm/imx31/gigabeat-s/system-target.h
  15. ===================================================================
  16. --- firmware/target/arm/imx31/gigabeat-s/system-target.h        (révision 15835)
  17. +++ firmware/target/arm/imx31/gigabeat-s/system-target.h        (copie de travail)
  18. @@ -30,6 +30,8 @@
  19.      while (EPITCNT1 > stop);
  20.  }
  21.  
  22. +#define __dbg_hw_info(...) 0
  23. +#define __dbg_ports(...) 0
  24.  
  25.  #define HAVE_INVALIDATE_ICACHE
  26.  static inline void invalidate_icache(void)
  27. Index: firmware/app.lds
  28. ===================================================================
  29. --- firmware/app.lds    (révision 15835)
  30. +++ firmware/app.lds    (copie de travail)
  31. @@ -70,7 +70,7 @@
  32.  #define IRAMORIG 0x00000000
  33.  #define IRAMSIZE 0x4000
  34.  #elif CONFIG_CPU==IMX31L
  35. -#define DRAMORIG (0x80000000 + STUBOFFSET)
  36. +#define DRAMORIG (0x88000000 + STUBOFFSET)
  37.  #define IRAMORIG 0x1FFFC000
  38.  #define IRAMSIZE 0x4000
  39.  #else
  40. Index: bootloader/gigabeat-s.c
  41. ===================================================================
  42. --- bootloader/gigabeat-s.c     (révision 15835)
  43. +++ bootloader/gigabeat-s.c     (copie de travail)
  44. @@ -47,6 +47,7 @@
  45.  #include <stdarg.h>
  46.  
  47.  char version[] = APPSVERSION;
  48. +int (*kernel_entry)(void);
  49.  
  50.  void main(void)
  51.  {
  52. @@ -72,14 +73,14 @@
  53.      }
  54.  
  55.      printf("Congratulations!");
  56. -    while(1);
  57.  
  58. -#if 0
  59.      printf("Loading firmware");
  60.  
  61. -    loadbuffer = (unsigned char*) 0x100;
  62. -    buffer_size = (unsigned char*)0x400000 - loadbuffer;
  63. +    unsigned char *loadbuffer = (unsigned char *)0x88000000;
  64. +    int buffer_size = 1024*1024;
  65.  
  66. +#undef BOOTFILE
  67. +#define BOOTFILE "/Content/0b00/00/05"
  68.      rc = load_firmware(loadbuffer, BOOTFILE, buffer_size);
  69.      if(rc < 0)
  70.          error(EBOOTFILE, rc);
  71. @@ -89,6 +90,7 @@
  72.          kernel_entry = (void*) loadbuffer;
  73.          rc = kernel_entry();
  74.      }
  75. -#endif
  76. +
  77. +    while (1);
  78.  }
  79.  

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
worth-right