+ Antworten
Ergebnis 1 bis 6 von 6

Hybrid-Darstellung

  1. #1
    Developer
    Registriert seit
    18.07.2012
    Ort
    Ridderkerk, Niederlande
    Beiträge
    634
    Thanks
    144
    Thanked 713 Times in 304 Posts
    If you mean how to edit the bootargs, this is the way todo it:

    1. Connect the receiver to a PC through RS-232;
    2. Run a terminal program on the PC (baudrate is 115200, 8bit, no parity 1 stop bit);
    3. Power the receiver on, and immediately start pressing the Enter key on the PC repeatedly until you see the prompt HDK7111>;
    4. You are now in the bootloader environment;
    5. To show the available commands, type printenv <Enter>
    6. To edit a bootarg, enter setenv <bootarg name> <bootarg value>. If the <bootarg value> contains spaces, surround it with double quotes.
    7. To check the changed value, do a printenv;
    8. If everything is OK, write the bootargs back by entering saveenv <enter>
    9. Restart the receiver.


    Some notes: The bootarg for booting USB is fixed in code and cannot be edited. Be sure to switch USB boot off. Remember also that Fortis receivers cannot flash their bootargs. To put the originals back edit them back to their original values, or destroy the checksum. When the checksum is not correct, the default bootargs are written back on the next restart with USB boot switched off. Hint: to quickly work, I found it handy to use copy/paste from pre-entered text in an editor.

    To give you an idea of how others have solved this, here are the bootargs of TDT MaxiBoot loader for an FS9000:
    Code:
    bootdelay=1
    baudrate=115200
    autoload=n
    board=Twin
    ethaddr=00:1E:B8:00:57:24  
    ipaddr=192.168.178.79
    netmask=255.255.255.0
    gatewayip=192.168.178.1
    mtdargs=set bootargs console=ttyAS1,115200 nwhwconf=device:eth0,hwaddr:${ethaddr} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask} root=/dev/mtdblock3 rootfstype=squashfs bigphysarea=4060 stmmaceth=msglvl:0,watchdog:4000,rxsize:16 loglevel=0
    usbargs=set bootargs console=ttyAS1,115200 nwhwconf=device:eth0,hwaddr:${ethaddr} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${board}:eth0:off root=/dev/sd${sdx}${par} rw mem=128m coprocessor_mem=4m@0x10000000,4m@0x10400000 rootdelay=5 init=/bin/devinit
    sdxconf=if test $hdd -eq 0 -a $usb -eq 0; then set sdx a; elif test $hdd -eq 1 -a $usb -eq 1; then set sdx c; else set sdx b; fi
    backup=erase a0300000 a1ffffff; cp.b a5000000 a0300000 1d00000; run mtdargs; bootm a0300000
    usbtool=usb reset; sleep 3; if fatload usb 0:1 a5000000 /uImage; then bootm a5000000; elif fatload usb 0:1 a5000000 /uBackup_${board}; then run backup; fi; run mtdargs; bootm a0300000
    bootcmd=bootmenu $menutimeout $default
    bootdesc_0=---Flash---
    bootcmd_0=run mtdargs; bootm a0300000
    bootdesc_1=--USB1 P1--
    bootcmd_1=set usb 0; set par 1; run usbload; run sdxconf; run usbargs; bootm a5000000
    bootdesc_2=--USB1 P2--
    bootcmd_2=set usb 0; set par 2; run usbload; run sdxconf; run usbargs; bootm a5000000
    bootdesc_3=--USB1 P3--
    bootcmd_3=set usb 0; set par 3; run usbload; run sdxconf; run usbargs; bootm a5000000
    bootdesc_4=--USB1 P4--
    bootcmd_4=set usb 0; set par 4; run usbload; run sdxconf; run usbargs; bootm a5000000
    bootdesc_5=--USB2 P1--
    bootcmd_5=set usb 1; set par 1; run usbload; run sdxconf; run usbargs; bootm a5000000
    bootdesc_6=--USB2 P2--
    bootcmd_6=set usb 1; set par 2; run usbload; run sdxconf; run usbargs; bootm a5000000
    bootdesc_7=--USB2 P3--
    bootcmd_7=set usb 1; set par 3; run usbload; run sdxconf; run usbargs; bootm a5000000
    bootdesc_8=--USB2 P4--
    bootcmd_8=set usb 1; set par 4; run usbload; run sdxconf; run usbargs; bootm a5000000
    bootdesc_9=--USB 112--
    bootcmd_9=set usb 0; set par 2; run sdxconf; run usbargs; run usbtool
    menutimeout=3000
    hdd=1
    usbload=usb reset; sleep 3; if fatload usb $usb:1 a5000000 /uImage; then; elif ext2load usb $usb: a5000000 /boot/uImage; then; fi
    default=0
    stdin=serial
    stdout=serial
    stderr=serial
    Hope this all gives some clues.

    Regards,

    Audioniek.
    Receivers: Rebox: RE-4000, 8000, 9000, 2200, 2210, 2220, 4200, 4210, 4220, 8220, 8500, SAB Unix Triple, Golden Media Spark TripleX, Amiko Alien 2+, Sogno Spark Revolution, Kathrein UFS910(1 & 14W)/912/913/922(CX24116 & AVL2108 tuners), Vizyon revolution 820HD PVR, AB IPBox 91HD/9000HD/9000HD rev.2, Xsarius Alpha HD10, nBox BKSA/BSLA/BXZB/BZZB, Vitamin HD 5000
    Sats: Astra 1, 2 & 3, Hotbird
    Main activity: building my own E2 images for Fortis receivers

  2. The Following 4 Users Say Thank You to Audioniek For This Useful Post:



Berechtigungen

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