Changeset 4480


Ignore:
Timestamp:
06/09/08 04:10:18 (5 years ago)
Author:
andrew
Message:

Use u-boot "dynpart" when flashing, with all it's consequences, to get the exact same partition sizes as gta01.
Don't print repeated backlight level messages.
Don't die on programmatic CPU off, although there's no way to resume atm.

Location:
trunk/src/host/qemu-neo1973
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/host/qemu-neo1973/hw/neo1973.c

    r4454 r4480  
    9696    struct sd_card_s *mmc; 
    9797    uint32_t id; 
     98 
     99    int bl_level; 
    98100}; 
    99101 
     
    106108static void neo_bl_intensity(int line, int level, void *opaque) 
    107109{ 
     110    struct neo_board_s *s = (struct neo_board_s *) opaque; 
     111 
    108112#if 0 
    109113    if (((s->io->bank[1].con >> (line * 2)) & 3) == 2)          /* TOUT0 */ 
     
    111115                        s->timers->compareb[line], s->timers->countb[line]); 
    112116#else 
    113     neo_printf("LCD Backlight now at %i/64.\n", level >> 8);    /* XXX */ 
     117    if ((level >> 8) != s->bl_level) { 
     118        s->bl_level = level >> 8; 
     119        neo_printf("LCD Backlight now at %i/64.\n", s->bl_level); 
     120    } 
    114121#endif 
    115122} 
  • trunk/src/host/qemu-neo1973/hw/s3c2410.c

    r3736 r4480  
    633633            printf("%s: processor powered off\n", __FUNCTION__); 
    634634            s3c_gpio_setpwrstat(s->io, 2); 
     635#if 0 
    635636            cpu_reset(s->env); 
    636637            s->env->regs[15] = 0;       /* XXX */ 
     638#endif 
    637639        } else 
    638640            if (value & (1 << 2))       /* Normal IDLE mode */ 
  • trunk/src/host/qemu-neo1973/openmoko/flash.sh

    r3446 r4480  
    110110setenv splashimage 'nand read.e $splash_addr splash $splash_size; unzip $splash_addr 0x33d00000 0x96000' 
    111111setenv mtdids nand0=neo1973-nand 
    112 setenv mtdparts mtdparts=neo1973-nand:0x00050000(u-boot),0x00004000(u-boot_env),0x00208000(kernel),0x00010000(splash),0x039a4000(rootfs) 
    113 #dynpart 
     112#setenv mtdparts mtdparts=neo1973-nand:0x00050000(u-boot),0x00004000(u-boot_env),0x00208000(kernel),0x00010000(splash),0x039a4000(rootfs) 
     113dynpart 
    114114nand write.e $kernel_addr u-boot $uboot_size 
    115115dynenv set u-boot_env 
Note: See TracChangeset for help on using the changeset viewer.