A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

Bugfix Backlight_init should be called after lcd_init

the rest..

Change-Id: I50585ba2191aa8134de3045b1445859b27503a68

+11 -14
+3 -4
bootloader/ipod.c
··· 306 system_init(); 307 kernel_init(); 308 309 #ifndef HAVE_BACKLIGHT_INVERSION 310 - backlight_init(); /* Turns on the backlight */ 311 #endif 312 - 313 - lcd_init(); 314 - font_init(); 315 316 #ifdef HAVE_LCD_COLOR 317 lcd_set_foreground(LCD_WHITE);
··· 306 system_init(); 307 kernel_init(); 308 309 + lcd_init(); 310 + font_init(); 311 #ifndef HAVE_BACKLIGHT_INVERSION 312 + backlight_init(); /* Turns on the backlight BUGFIX backlight_init MUST BE AFTER lcd_init */ 313 #endif 314 315 #ifdef HAVE_LCD_COLOR 316 lcd_set_foreground(LCD_WHITE);
+2 -2
bootloader/ipodnano2g.c
··· 184 185 enable_irq(); 186 187 - backlight_init(); /* Turns on the backlight */ 188 - 189 lcd_init(); 190 font_init(); 191 192 lcd_set_foreground(LCD_WHITE); 193 lcd_set_background(LCD_BLACK);
··· 184 185 enable_irq(); 186 187 lcd_init(); 188 font_init(); 189 + 190 + backlight_init(); /* Turns on backlight -- BUGFIX backlight_init MUST BE AFTER lcd_init */ 191 192 lcd_set_foreground(LCD_WHITE); 193 lcd_set_background(LCD_BLACK);
+3 -4
bootloader/iriver_h1x0.c
··· 485 try_flashboot(); 486 # endif 487 488 - backlight_init(); 489 - 490 - 491 lcd_init(); 492 493 if (!rc_on_button) 494 lcd_remote_init(); 495 - 496 /* Bootloader uses simplified backlight thread, so we need to enable 497 remote display here. */ 498 if (remote_detect())
··· 485 try_flashboot(); 486 # endif 487 488 lcd_init(); 489 490 if (!rc_on_button) 491 lcd_remote_init(); 492 + 493 + backlight_init(); /* BUGFIX backlight_init MUST BE AFTER lcd_init */ 494 + 495 /* Bootloader uses simplified backlight thread, so we need to enable 496 remote display here. */ 497 if (remote_detect())
+3 -4
utils/atj2137/adfuload/test_binary/lcm/test_lcm.c
··· 280 /* unmask T0 source in INTC */ 281 INTC_MSK |= (1<<10); 282 283 backlight_init(); 284 285 - /* copy rb logo image */ 286 for (i=0; i<240*74; i++) 287 framebuffer[i] = rockboxlogo[i]; 288 - 289 - lcm_init(); 290 - lcd_init(); 291 lcd_update_rect(0,0,240,74); 292 293 /* ADEC_N63.BIN seems to setup P_CLK as 7.5MHz which is timer clk */
··· 280 /* unmask T0 source in INTC */ 281 INTC_MSK |= (1<<10); 282 283 + lcm_init(); 284 + lcd_init(); 285 backlight_init(); 286 287 + /* copy rb logo image */ 288 for (i=0; i<240*74; i++) 289 framebuffer[i] = rockboxlogo[i]; 290 lcd_update_rect(0,0,240,74); 291 292 /* ADEC_N63.BIN seems to setup P_CLK as 7.5MHz which is timer clk */