[prev in list] [next in list] [prev in thread] [next in thread]
List: qemu-discuss
Subject: trying u-boot on qemu
From: <ckim () etri ! re ! kr>
Date: 2021-10-10 14:36:51
Message-ID: 006e01d7bde4$439e9b20$cadbd160$ () etri ! re ! kr
[Download RAW message or body]
This is a multipart message in MIME format.
Hello,
To try u-boot on qemu, I did
$ make ARCH=arm CROSS_COMPILE=aarch64-none-elf- qemu_arm64_defconfig
$ make ARCH=arm CROSS_COMPILE=aarch64-none-elf-
It compiled ok. I did then,
$ qemu-system-aarch64 -M virt -bios u-boot.bin
'g_io_module_load': dlerror not working..
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
Gtk-Message: 23:10:08.763: Failed to load module "canberra-gtk-module"
Gtk-Message: 23:10:08.765: Failed to load module "canberra-gtk-module"
(I had tried ARM=arm64 but it gave me error below when compiling
$ make ARCH=arm64 CROSS_COMPILE=aarch64-none-elf-
scripts/kconfig/conf --syncconfig Kconfig
ln: failed to create symbolic link 'arch/arm64/include/asm/arch': No such
file or directory
make[1]: *** [scripts/Makefile.autoconf:133: create_symlink] Error 1
CFGCHK u-boot.cfg
make: *** No rule to make target 'include/config/auto.conf', needed by
'include/config/uboot.release'. Stop.
)
Is this procedure (using ARCH=arm) correct?
Any comment appreciated.
Thank you.
Chan Kim
[Attachment #3 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
text-autospace:none;
word-break:break-hangul;
font-size:10.0pt;
font-family:"Malgun Gothic";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Malgun Gothic";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Malgun Gothic";}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=KO link="#0563C1" \
vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span \
lang=EN-US>Hello,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>To try \
u-boot on qemu, I did <o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-US>$ make ARCH=arm CROSS_COMPILE=aarch64-none-elf- \
qemu_arm64_defconfig<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>$ make \
ARCH=arm CROSS_COMPILE=aarch64-none-elf-<o:p></o:p></span></p><p \
class=MsoNormal><span lang=EN-US>It compiled ok. I did then,<o:p></o:p></span></p><p \
class=MsoNormal><span lang=DE>$ qemu-system-aarch64 -M virt -bios \
u-boot.bin<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-US>'g_io_module_load': dlerror not working..<o:p></o:p></span></p><p \
class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span \
lang=EN-US>Failed to load module: \
/usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so<o:p></o:p></span></p><p \
class=MsoNormal><span lang=EN-US>Gtk-Message: 23:10:08.763: Failed to load module \
"canberra-gtk-module"<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-US>Gtk-Message: 23:10:08.765: Failed to load module \
"canberra-gtk-module"<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal \
style='margin-left:20.0pt;mso-para-margin-left:2.0gd'><span lang=EN-US>(I had tried \
ARM=arm64 but it gave me error below when compiling<o:p></o:p></span></p><p \
class=MsoNormal style='margin-left:20.0pt;mso-para-margin-left:2.0gd'><span \
lang=EN-US>$ make ARCH=arm64 CROSS_COMPILE=aarch64-none-elf-<o:p></o:p></span></p><p \
class=MsoNormal style='margin-left:20.0pt;mso-para-margin-left:2.0gd'><span \
lang=EN-US>scripts/kconfig/conf --syncconfig Kconfig<o:p></o:p></span></p><p \
class=MsoNormal style='margin-left:20.0pt;mso-para-margin-left:2.0gd'><span \
lang=EN-US>ln: failed to create symbolic link 'arch/arm64/include/asm/arch': No such \
file or directory<o:p></o:p></span></p><p class=MsoNormal \
style='margin-left:20.0pt;mso-para-margin-left:2.0gd'><span lang=EN-US>make[1]: *** \
[scripts/Makefile.autoconf:133: create_symlink] Error 1<o:p></o:p></span></p><p \
class=MsoNormal style='margin-left:20.0pt;mso-para-margin-left:2.0gd'><span \
lang=EN-US> CFGCHK u-boot.cfg<o:p></o:p></span></p><p class=MsoNormal \
style='margin-left:20.0pt;mso-para-margin-left:2.0gd'><span lang=EN-US>make: *** No \
rule to make target 'include/config/auto.conf', needed by \
'include/config/uboot.release'. Stop.<o:p></o:p></span></p><p class=MsoNormal \
style='margin-left:20.0pt;mso-para-margin-left:2.0gd'><span \
lang=EN-US>)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Is this \
procedure (using ARCH=arm) correct?<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-US>Any comment appreciated.<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-US>Thank you.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Chan \
Kim<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-US><o:p> </o:p></span></p></div></body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic