--}}
Новая тема
Вы не можете создавать новые темы.
Т.к. вы неавторизованы на сайте. Пожалуйста назовите себя или зарегистрируйтесь.
Список тем

Кто плотно с Qemu работает? Как в qemu-arm запустить образ Banana Pi?

Нужен совет (поиск решения проблемы. не для купли-продажи)
671
2
С друзьями на NN.RU
В социальных сетях
Поделиться
Пытаюсь по мануалам на форуме лемакера:
qemu-system-arm.exe -M versatilepb -cpu arm1176 -hda banana-flash.img -kernel kernel-qemu -m 192 -append "root=/dev/sda2"
пишет:
WARNING: Image format was not specified for 'banana-flash.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
qemu: could not load kernel 'kernel-qemu'
Пытаюсь указать формат:
-drive format=raw
пишет:
qemu-system-arm.exe: -drive format=raw: A block device must be specified for "file"
UPD. Сообразил указать файл через запятую без пробела:
-drive format=raw,file=banana-flash.img
пишет:
qemu: could not load kernel 'kernel-qemu'
Удалил kernel и append - в итоге окно, которое закрывается через несколько секунд: --->
В итоге выводит:

qemu-system-arm.exe: Trying to execute code outside RAM or ROM at 0x0c000000
This usually means one of the following happened:

(1) You told QEMU to execute a kernel for the wrong machine type, and it crashed on startup (eg trying to run a raspberry pi kernel on a versatilepb QEMU machine)
(2) You didn't give QEMU a kernel or BIOS filename at all, and QEMU executed a ROM full of no-op instructions until it fell off the end
(3) Your guest kernel has a bug and crashed by jumping off into nowhere

This is almost always one of the first two, so check your command line and that you are using the right type of kernel for this machine.
If you think option (3) is likely then you can try debugging your guest with the -d debug options; in particular -d guest_errors will cause the log to include a dump of the guest register state at this point.

Execution cannot continue; stopping here.
----------------------------
Подозреваю, что нужно использовать не versalitepb, поскольку она не даёт задать объём памяти более 256m
Новая тема
Вы не можете создавать новые темы.
Т.к. вы неавторизованы на сайте. Пожалуйста назовите себя или зарегистрируйтесь.
Список тем