Changeset 4177


Ignore:
Timestamp:
03/07/08 02:14:43 (5 years ago)
Author:
andrew
Message:

Use daily u-boot snapshots now that they're available.
Move kernel load site down a bit.
Disable u-boot env pre-load explicitely.

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

Legend:

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

    r4037 r4177  
    627627#else 
    628628    load_image("u-boot.bin", phys_ram_base + 0x03f80000); 
    629     load_image(s->kernel, phys_ram_base + 0x00800000); 
     629    load_image(s->kernel, phys_ram_base + 0x00100000); 
    630630 
    631631    s->cpu->env->regs[15] = S3C_RAM_BASE | 0x03f80000; 
     
    633633    if (strstr(s->kernel, "u-boot")) {  /* FIXME */ 
    634634        /* Exploit preboot-override to set up an initial environment */ 
    635         stl_raw(phys_ram_base + 0x03f80040, S3C_RAM_BASE | 0x007fff00); 
    636         strcpy(phys_ram_base + 0x007fff00, 
     635        stl_raw(phys_ram_base + 0x03f80040, S3C_RAM_BASE | 0x000fff00); 
     636        strcpy(phys_ram_base + 0x000fff00, 
    637637                        "setenv stdin serial; " 
    638638                        "setenv stdout serial; " 
    639639                        "setenv stderr serial; "); 
     640        /* Disable ENV pre-load */ 
     641        stl_raw(phys_ram_base + 0x03f80044, 0x00000000); 
    640642    } 
    641643#endif 
  • trunk/src/host/qemu-neo1973/openmoko/env

    r3959 r4177  
    1919qemu_cmd () { $script_dir/qemu-cmd.pl "$qemu_monitor" "$*"; } 
    2020 
    21 kernel_addr=0x30800000 
     21kernel_addr=0x30100000 
    2222splash_addr=0x36000000 
    2323splash_size=0x5000 
     
    2929 
    3030download_dir="http://buildhost.openmoko.org/daily/neo1973/deploy/glibc/images/neo1973/" 
    31 dev_download_dir="http://buildhost.openmoko.org/snapshots/2007.08/images/" 
     31dev_download_dir="$download_dir" 
    3232backup_download_dir="http://buildhost.automated.it/OM2007.2/" 
Note: See TracChangeset for help on using the changeset viewer.