dCore Import Debian Packages to Mountable SCE extensions > Allwinner A10
Cubieboard Install
Redhair:
Hi, I've just received a Cubieboard (1GB) and want to install Tiny Core to a microSD card (1GB) but I guess I need a step-by-step guide for dummies. I was not able to find one. So, this is what I've tried so far:
1) downloaded a10Core.img.gz from tinycore dot net/4.x/armv7/ and extracted
2) downloaded sunxi-spl.bin and u-boot.bin from /4.x/armv7/hardware/Cubieboard/
3) downloaded cubieboard_script.bin from /4.x/armv7/hardware/script.bin/
4) dd if=a10Core-20130226.img of=/dev/sdb bs=1M
9+0 Datensätze ein
9+0 Datensätze aus
9437184 Bytes (9,4 MB) kopiert, 2,90576 s, 3,2 MB/s
5) dd if=sunxi-spl.bin of=/dev/sdb bs=1024 seek=8
20+1 Datensätze ein
20+1 Datensätze aus
20992 Bytes (21 kB) kopiert, 0,118392 s, 177 kB/s
6) dd if=u-boot.bin of=/dev/sdb bs=1024 seek=32
247+1 Datensätze ein
247+1 Datensätze aus
253296 Bytes (253 kB) kopiert, 0,34416 s, 736 kB/s
7) cp cubieboard_script.bin /media/B7E5-8B09/script.bin
sync
...but I get nothing but a black screen. Did I miss something or what I am doing wrong? Any hint is much appreciated!
hlavery:
Hello, your steps and reported file transfer sizes appear to be correct. I suspect that your SD card is the problem. I have several small and/or old cards which will not boot TC (on my A10 Hackberry board...and some will not boot any version of Linux). Best results with Class 10 cards, although some Class 6 will work. Other users have had issues with microSD adapters making corrupted copies, so check md5sums. The cards are a headache, although eventually you will get a workable set.
Rich:
Hi Redhair
I think you overwrote part of a10Core-20130226.img with sunxi-spl.bin.
Step 4 shows you wrote 9Meg bytes, step 5 shows you skipping 8 blocks which default to a size if 512 bytes or 4K total.
From the man page:
--- Code: ---obs=BYTES
write BYTES bytes at a time (default: 512)
seek=BLOCKS
skip BLOCKS obs-sized blocks at start of output
BLOCKS and BYTES may be followed by the following multiplicative suffixes: c =1, w =2, b =512, kB =1000, K =1024, MB =1000*1000, M =1024*1024, xM =M GB =1000*1000*1000, G =1024*1024*1024, and so on for T, P, E, Z, Y.
--- End code ---
I think in step 5 skip should be set equal to 9437184 / 512 or 18432b and step 6 should add 20992 / 512 or 41b to
that number.
--- Code: ---dd if=a10Core-20130226.img of=/dev/sdb bs=1M
dd if=sunxi-spl.bin of=/dev/sdb bs=1024 seek=18432b
dd if=u-boot.bin of=/dev/sdb bs=1024 seek=18473b
cp cubieboard_script.bin /media/B7E5-8B09/script.bin
--- End code ---
hlavery:
Actually, the over-writing of part of the process is on purpose here, since the TC Mele u-boot.bin and sunxi-spl.bin are being replaced by those of the target device (cubieboard). Appending them to the end of the image won't give the intended result, since the original boot details will still be read and probably fail.
Rich:
Hi hlavery
In that case, I stand corrected. Thanks for setting me straight.
Navigation
[0] Message Index
[#] Next page
Go to full version