Ergebnis 1 bis 10 von 130

Baum-Darstellung

  1. #11
    Benutzer Avatar von Saentist
    Registriert seit
    28.08.2015
    Ort
    Bulgaria
    Beiträge
    56
    Thanks
    2
    Thanked 6 Times in 5 Posts
    On my box there is a tool for this, TGZ-USB-Installer by Eisha
    Automatically format USB drive extract TGZ image for usb and set boot arguments

    is there a way for extra option for kernel logging in make.sh for testers

    Boot arguments to boot from USB drive for ST7105 and ST7111.

    USE ON OWN RISK

    ST7105
    Code:
    bootdelay=0baudrate=115200
    board=ST7105
    targetname=muso
    stdin=serial
    stdout=serial
    stderr=serial
    
    
    gateway=192.168.2.1
    ipaddr=192.168.2.8
    serverip=192.168.2.2
    netmask=255.255.255.0
    
    
    #HDD
    
    
    nwconf=setenv nwhw nwhwconf=device:eth0,hwaddr:$ethaddr; setenv nwip ip=$ipaddr:$serverip:$gateway:$netmask:$board:eth0:off
    sdconf=if test $hdd -eq 0; then set par a; else set par b; fi; 
    
    
    cramfsbootargs=setenv bootargs console=ttyAS0,115200 $nwhw $nwip root=/dev/mtdblock3 rootfstype=squashfs bigphysarea=5000 stmmaceth=msglvl:0,watchdog:4000,rxsize:16 $MTD loglevel=0
    usbbootargs=setenv bootargs console=ttyAS0,115200 $nwhw $nwip root=/dev/sd${par}2 rw rootdelay=5 init=/bin/devinit coprocessor_mem=4m@0x40000000,4m@0x40400000
    
    
    mtdboot=vfd "Boot Flash"; usb stop; run cramfsbootargs; bootm 0xa0060000
    usbboot=if fatload usb 0:1 84000000 uImage; then vfd "Boot USB"; run usbbootargs; bootm 84000000; fi
    bootcmd=run nwconf; run sdconf; vfd "Check USB"; usb reset; run usbboot; run mtdboot
    
    
    updt_boot=vfd READ;tftp 0x80000000 u-boot.bin;protect off 1:0-1;erase 1:0-1;cp.b 0x80000000 0xa0000000 $filesize;protect on 1:0-1;vfd COMPLETE
    updt_boot_all=vfd READ;tftp 0x80000000 u-boot.bin;protect off 1:0-511;erase 1:0-511;cp.b 80000000 0xa0000000 $filesize;protect on 1:0-511;vfd COMPLETE
    erase_config=protect off 1:264-271;erase 1:264-271;protect on 1:264-271
    erase_env=protect off 1:2-2;erase 1:2-2;protect on 1:2-2
    ST7111

    Code:
    bootdelay=0baudrate=115200
    board=ST7111
    targetname=muso
    stdin=serial
    stdout=serial
    stderr=serial
    
    
    gateway=192.168.2.1
    ipaddr=192.168.2.8
    serverip=192.168.2.2
    netmask=255.255.255.0
    
    
    #HDD
    
    
    nwconf=setenv nwhw nwhwconf=device:eth0,hwaddr:$ethaddr; setenv nwip ip=$ipaddr:$serverip:$gateway:$netmask:$board:eth0:off
    sdconf=if test $hdd -eq 0; then set par a; else set par b; fi; 
    
    
    cramfsbootargs=setenv bootargs console=ttyAS0,115200 root=/dev/mtdblock3 rootfstype=squashfs $nwhw $nwip bigphysarea=5000 stb7111:eth0:off stmmaceth=msglvl:0,phyaddr:2,watchdog:4000,rxsize:16 $MTD loglevel=6
    usbbootargs=setenv bootargs console=ttyAS0,115200 $nwhw $nwip root=/dev/sd${par}2 rw rootdelay=5 init=/bin/devinit bigphysarea=6000 stb7111:eth0:off stmmaceth=msglvl:0,phyaddr:2,watchdog:4000,rxsize:16 coprocessor_mem=4m@0x40000000,4m@0x40400000 printk=0
    
    
    mtdboot=vfd "MTD"; usb stop; run cramfsbootargs; bootm 0xa0060000
    usbboot=if fatload usb 0:1 84000000 uImage; then vfd "USB"; run usbbootargs; bootm 84000000; fi
    bootcmd=run nwconf; run sdconf; vfd "AUTO"; usb reset; run usbboot; run mtdboot
    
    
    updt_boot=vfd LD;tftp 0x80000000 u-boot.bin;protect off 1:0-1;erase 1:0-1;cp.b 0x80000000 0xa0000000 $filesize;protect on 1:0-1;vfd _End
    updt_boot_all=vfd LD;tftp 0x80000000 u-boot.bin;protect off 1:0-255;erase 1:0-255;cp.b 80000000 0xa0000000 $filesize;protect on 1:0-255;vfd _End
    updt_appb=vfd LD;tftp 0x80000000 app.img;protect off 1:64-103;erase 1:64-103;cp.b 80000000 0xa0800000 $filesize;protect on 1:64-103;vfd _End
    updt_user=vfd LD;tftp 0x80000000 user.img;protect off 1:224-255;erase 1:224-255;cp.b 80000000 0xa1c00000 $filesize;protect on 1:224-255;vfd _End
    erase_config=protect off 1:216-223;erase 1:216-223;protect on 1:216-223
    erase_env=protect off 1:2-2;erase 1:2-2;protect on 1:2-2
    Angehängte Dateien Angehängte Dateien
    Geändert von Saentist (17.11.2016 um 07:58 Uhr)


Berechtigungen

  • Neue Themen erstellen: Ja
  • Themen beantworten: Ja
  • Anhänge hochladen: Ja
  • Beiträge bearbeiten: Ja
  •