thanks xenoxaos but I am not sure I follow you. So your suggestion is to do that $this->bbcode_second_pass_code('', 'dd if=/dev/zero of=/dev/{sdX|mmcblkX} bs=1M count=16') first, then make partitions, then $this->bbcode_second_pass_code('', 'dd if=pcduino/sunxi-spl.bin of=/dev/mmcblkX bs=1024 seek=8
dd if=pcduino/u-boot.bin of=/dev/mmcblkX bs=1024 seek=32') and then keep going with the rest?
WarheadsSE the duplicated step is at the end, the
Creating a uEnv.txt part, which is already done in the latest one of the
SD Card Creation ... am I wrong?
$this->bbcode_second_pass_code('', 'cp pcduino/pcDuino.bin /tmp/boot/
cp pcduino/uEnv.txt /tmp/boot/uEnv.txt')
being that already available after
$this->bbcode_second_pass_code('', 'mount /dev/mmcblk0p1 /tmp/boot') I believe the last part is not necessary .
So here all my steps, I might have done something in the wrong order though, I am not familiar with this stuff
- unmount and drop all SD Card partitions
- create 16 MB FAT (16) partition, calling it boot, and formatting it
- create the rest of available space as Ext4, calling it arch, and formatting it
- sudo dd if=~/pcduino/sunxi-spl.bin of=/dev/sdb0 bs=1024 seek=8
- sudo dd if=~/pcduino/u-boot.bin of=/dev/sdb0 bs=1024 seek=32
- mount both partitions ( as /media/sample/boot and /media/sample/arch ) and ...
- sudo tar -zxf ~/Downloads/ArchLinuxARM-sun4i-latest.tar.gz -C /media/sample/arch
- sudo cp ~/pcduino/pcDuino.bin /media/sample/boot/
- sudo cp ~/pcduino/uEnv.txt /media/sample/boot/uEnv.txt
- sync
Reboot/Reset/Start the pcDuino with that SD Card ... and finally,
wait forever a miracle happens but it doesn't, nothing on the screen.
What am I doing wrong? Thanks again!