Cheros

boot.source_s32g_sdhc_passthrough

Feb 10th, 2020
33
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fatload mmc 0:1 0x80400000 xen
  2. fatload mmc 0:1 0x80600000 Image
  3. fatload mmc 0:1 0x80E00000 fsl-image-base-s32g274aevb.cpio.gz
  4. fatload mmc 0:1 0x84C00000 domU_Image
  5. fatload mmc 0:1 0x85400000 domU_fsl-image-base-s32g274aevb.cpio.gz
  6. fatload mmc 0:1 0x89200000 passthrough_sdhc_s32g274aevb.dtb
  7. fatload mmc 0:1 0x89400000 fsl-s32g274a-evb.dtb
  8. fdt addr 0x89400000
  9. fdt resize
  10. fdt set /chosen \#address-cells <0x2>
  11. fdt set /chosen \#size-cells <0x2>
  12. fdt set /chosen xen,xen-bootargs "console=ttyLF0 dom0_mem=512M dom0_max_vcpus=1 bootscrub=0 vwfi=native sched=null sync_console=true"
  13. fdt mknod /chosen dom0
  14. fdt set /chosen/dom0 compatible "xen,linux-zimage" "xen,multiboot-module"
  15. fdt set /chosen/dom0 reg <0x0 0x80600000 0x0 6514696>
  16. fdt set /chosen xen,dom0-bootargs "console=hvc0 earlycon=xen earlyprintk=xen root=/dev/ram0"
  17. fdt mknod /chosen dom0-ramdisk
  18. fdt set /chosen/dom0-ramdisk compatible "xen,linux-initrd" "xen,multiboot-module"
  19. fdt set /chosen/dom0-ramdisk reg <0x0 0x80E00000 0x0 64575272>
  20. fdt rm /chosen linux,initrd-start
  21. fdt rm /chosen linux,initrd-end
  22. fdt mknod /chosen domU0
  23. fdt set /chosen/domU0 compatible "xen,domain"
  24. fdt set /chosen/domU0 \#address-cells <0x2>
  25. fdt set /chosen/domU0 \#size-cells <0x2>
  26. fdt set /chosen/domU0 memory <0x0 0x80000>
  27. fdt set /chosen/domU0 cpus <0x1>
  28. fdt set /chosen/domU0 vpl011 <0x1>
  29. fdt mknod /chosen/domU0 module0x84C00000
  30. fdt set /chosen/domU0/module0x84C00000 compatible "multiboot,kernel" "multiboot,module"
  31. fdt set /chosen/domU0/module0x84C00000 reg <0x0 0x84C00000 0x0 6514696>
  32. fdt set /chosen/domU0/module0x84C00000 bootargs "console=ttyAMA0 root=/dev/ram0"
  33. fdt mknod /chosen/domU0 module0x85400000
  34. fdt set /chosen/domU0/module0x85400000 compatible "multiboot,ramdisk" "multiboot,module"
  35. fdt set /chosen/domU0/module0x85400000 reg <0x0 0x85400000 0x0 64575272>
  36. fdt mknod /chosen/domU0 module0x89200000
  37. fdt set /chosen/domU0/module0x89200000 compatible "multiboot,device-tree" "multiboot,module"
  38. fdt set /chosen/domU0/module0x89200000 reg <0x0 0x89200000 0x0 1101>
  39. fdt set /chosen/domU0 direct-map <0x1>
  40. fdt set /usdhc@402F0000 xen,passthrough
  41. setenv fdt_high 0xffffffff
  42. booti 0x80400000 - 0x89400000
RAW Paste Data