{"id":368,"date":"2009-05-15T21:32:10","date_gmt":"2009-05-16T05:32:10","guid":{"rendered":"http:\/\/xiehang.com\/blog\/?p=368"},"modified":"2009-05-15T21:32:10","modified_gmt":"2009-05-16T05:32:10","slug":"arm-emulator","status":"publish","type":"post","link":"https:\/\/xiehang.com\/blog\/2009\/05\/15\/arm-emulator\/","title":{"rendered":"ARM emulator"},"content":{"rendered":"
Here is the perfect explanation on how to setup a ARM linux emulator<\/a>, there are only three things I change:<\/p>\n Pretty fun, and on my P4 2.8G Ubuntu it runs pretty smoothly- I guess it runs much more faster than most real ARM single board computers, but I don’t have anything to verify it.<\/p>\n Turning on console took me sometime, as I was lost on host and VM’s setting, actually it is pretty simple:<\/p>\n Now after reboot, I have my ARM box now:<\/p>\n $ uname -a It does not have full Ubuntu packages, I’m trying to do cross compiling (using GNAT) as I want to use Ada for all its development.<\/p>\n Once everything works I will get a dev board \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":" Here is the perfect explanation on how to setup a ARM linux emulator, there are only three things I change: I installed binary qemu package instead of building from source Those ARM kernels are now 2.6.18-6, guess version will be changed again later on I didn’t install SSH – I’m using console for all the […]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4,12,13],"_links":{"self":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/368"}],"collection":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/comments?post=368"}],"version-history":[{"count":1,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/368\/revisions"}],"predecessor-version":[{"id":369,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/368\/revisions\/369"}],"wp:attachment":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/media?parent=368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/categories?post=368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/tags?post=368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
\n
\n2:23:respawn:\/sbin\/getty 38400 ttyAMA0<\/li>\n
\nqemu-system-arm -M versatilepb -kernel vmlinuz-2.6.18-6-versatile -initrd initrd.img-2.6.18-6-versatile -hda hda.img -append “console=ttyAMA0 root=\/dev\/sda1” -serial stdio -nographic<\/li>\n<\/ul>\n
\nLinux ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU\/Linux<\/p>\n