Advertisement
dhead

pp mobile working env

Feb 3rd, 2013
599
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. arcNumber=3960
  2. baudrate=115200
  3. bootargs=console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
  4. bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run mmc_bootcmd
  5. bootdelay=10
  6. console=ttyS0,115200
  7. ethact=egiga0
  8. force_rescue=0
  9. force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
  10. if_netconsole=ping $serverip
  11. ipaddr=192.168.0.230
  12. led_error=orange blinking
  13. led_exit=green off
  14. led_init=green blinking
  15. machid=F78
  16. mainlineLinux=yes
  17. mmc_boot=mw 0x800000 0 1; ext2load mmc 0:1 0x00800000 /boot/uImage; if ext2load mmc 0:1 0x01100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
  18. mmc_bootcmd=mmc init; mmc init; run mmc_set_bootargs; run mmc_boot
  19. mmc_root=/dev/mmcblk0p1
  20. mmc_set_bootargs=setenv bootargs console=$console root=$mmc_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
  21. mtddevname=uImage2
  22. mtddevnum=2
  23. mtdids=nand0=orion_nand
  24. mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)
  25. ncip=192.168.0.220
  26. partition=nand0,2
  27. pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
  28. preboot=run if_netconsole start_netconsole
  29. rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
  30. rescue_installed=0
  31. rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
  32. serverip=192.168.0.220
  33. start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
  34. stderr=nc
  35. stdin=nc
  36. stdout=nc
  37. ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
  38. ubifs_mtd=3
  39. ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
  40. usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
  41. usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
  42. usb_device=0:1
  43. usb_init=run usb_scan
  44. usb_root=/dev/sda1
  45. usb_rootdelay=10
  46. usb_rootfstype=ext3
  47. usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
  48. usb_scan_1=usb=0:1 dev=sda1
  49. usb_scan_2=usb=1:1 dev=sdb1
  50. usb_scan_3=usb=2:1 dev=sdc1
  51. usb_scan_4=usb=3:1 dev=sdd1
  52. usb_scan_list=1 2 3 4
  53. usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement