use virtio-bk-pci instead of virtio-bk-device
u-boot is happy with either but Linux can autodetect the PCI-based hardware
This commit is contained in:
parent
4229b42d82
commit
07e66c462b
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@
|
||||||
(if uboot
|
(if uboot
|
||||||
["-drive" (.. "if=pflash,format=raw,file=" uboot )
|
["-drive" (.. "if=pflash,format=raw,file=" uboot )
|
||||||
"-drive" (.. "if=none,format=raw,id=hd0,file=" disk)
|
"-drive" (.. "if=none,format=raw,id=hd0,file=" disk)
|
||||||
"-device" "virtio-blk-device,drive=hd0"
|
"-device" "virtio-blk-pci,drive=hd0"
|
||||||
]
|
]
|
||||||
(let [cmdline (.. cmdline " mem=256M liminix mtdparts=phram0:16M(rootfs) phram.phram=phram0," options.phram-address ",16Mi,65536 root=/dev/mtdblock0")]
|
(let [cmdline (.. cmdline " mem=256M liminix mtdparts=phram0:16M(rootfs) phram.phram=phram0," options.phram-address ",16Mi,65536 root=/dev/mtdblock0")]
|
||||||
["-kernel" options.kernel "-append" cmdline])))
|
["-kernel" options.kernel "-append" cmdline])))
|
||||||
|
|
Loading…
Reference in a new issue