dCore Import Debian Packages to Mountable SCE extensions > Allwinner A10
Towards Microcore on Allwinner A10
curaga:
--- Quote ---In fact, qemu-extra.tcz could use an update!
--- End quote ---
According to this bug:
https://bugs.meego.com/show_bug.cgi?id=16858
The Qemu version required is 0.13 or 0.14, qemu-extra is at 1.0. Is it a config option instead?
roberts:
I'm no expert on Qemu so not sure. While visiting a friend, I, we, were able to download the latest stable Qemu onto his lastest Ubuntu system, qemu-1.1.1.1.tar.bz2 and after compiling were able to run raspbian. I don't have the luxury of having so many machines to run the latest Ubuntu and Qemu. Perhaps you wish to investigate?
curaga:
I see, 1.0 has buggy float support for those early ARMs. http://lists.gnu.org/archive/html/qemu-devel/2012-03/msg05454.html
But the readybuilt Pi kernels don't support newer ARMs either ;)
caminati:
--- Quote from: roberts on August 25, 2012, 02:19:18 PM ---caminati, what is the code that you used to create the final img file.
--- End quote ---
I'm not sure I understood what you want to know.
As root, I did the following:
--- Code: ---find | cpio -H newc -o | gzip > ~/core
mkimage -C none -A arm -T ramdisk -d ~/core ~/uCore
--- End code ---
Then put uCore, boot.scr, uImage and script.bin in first partition of mmc.
As usual (see rhombus-tech.net), that partition should start at sector 2048, with previous sectors containing spl and u-boor binaries.
I have a script to prepare an empty mmc this way, which must be run from a directory containing sun4i-spl.bin and u-boot.bin: see attachment.
If you use it, be careful!
--- Quote from: roberts on August 25, 2012, 02:19:18 PM ---I now have Core's busybox, blikid, and mke2fs working in uCore. I can now do a backup on A10!
Most scripts should be working since it is our busybox. I would like to post the img so that others may begin testing.
--- End quote ---
Can't wait for that.
Of course, an img file would be much handier if truncated at x+1 Mb (where x is the size of first partition and hopefully not much more than the total size of the four files it contains), and not as large as the whole mmc.
Please tell me if I omitted needed details.
caminati:
--- Quote from: roberts on August 25, 2012, 02:19:18 PM ---caminati, what is the code that you used to create the final img file.
--- End quote ---
I'm not sure I understood what you want to know.
As root, I did the following:
--- Code: ---find | cpio -H newc -o | gzip > ~/core
mkimage -C none -A arm -T ramdisk -d ~/core ~/uCore
--- End code ---
Then put uCore, boot.scr, uImage and script.bin in first partition of mmc.
As usual (see rhombus-tech.net), that partition should start at sector 2048, with previous sectors containing spl and u-boor binaries.
I have a script to prepare an empty mmc this way, which must be run from a directory containing sun4i-spl.bin and u-boot.bin: see attachment.
If you use it, be careful!
Guessing the right version of u-boot binaries turned out to be the single major point of trouble, so I attach also those two files. They should be the same contained in my image.
--- Quote from: roberts on August 25, 2012, 02:19:18 PM ---I now have Core's busybox, blikid, and mke2fs working in uCore. I can now do a backup on A10!
Most scripts should be working since it is our busybox. I would like to post the img so that others may begin testing.
--- End quote ---
Can't wait for that.
Of course, an img file would be much handier if truncated at x+1 Mb (where x is the size of first partition and hopefully not much more than the total size of the four files it contains), and not as large as the whole mmc.
Please tell me if I omitted needed details.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version