Here are my notes on MiraBox.
(These are adapted from Jon Masters)
[jon@shambhala ~]$ cat mira-notes.txt
#version=3.9.5-301.fc19
version=3.10.0-1.fc20
# change to the boot directory on the rootfs
# all paths are relative to the boot partition.
cat vmlinuz-${version}.armv7hl \
dtb-${version}.armv7hl/armada-370-mirabox.dtb > \
vmlinuz-${version}.armv7hl.mirabox-adtb
mkimage -A arm -O linux -T kernel -C none \
-a 0x00008000 -e 0x00008000 \
-n "${version}.armv7hl.mirabox-adtb" \
-d vmlinuz-${version}.armv7hl.mirabox-adtb \
uImage-${version}.armv7hl.mirabox-adtb
/bin/cp -f uImage-${version}.armv7hl.mirabox-adtb uImage
/bin/cp -f uInitrd-${version}.armv7hl uInitrd
# bellow are the u-boot commands
setenv bootcmd 'usb start; ext2load usb 1:1 0x02000000 uImage;
ext2load usb 1:1 0x02800000 uInitrd; bootm 0x02000000 0x02800000'
setenv bootargs 'ro rootwait earlyprintk debug root=/dev/sdb3
console=ttyS0,115200'
run bootcmd
#THE END
On Fri, Jul 19, 2013 at 1:30 PM, Jochen De Smet <jochen.arm(a)leahnim.org> wrote:
So I got myself a second mirabox and figured I'd try to get F19
on there.
I got myself a microSD card as well, and wrote the image on there. When
plugged
into the mirabox, I can see the SD card from linux and mount the partitions
etc.
But after that I seem to be stuck. The instructions on
https://fedoraproject.org/wiki/Architectures/ARM/F19/Installation
seem to stop after the "write the image" step and don't have any
information
on
actually booting from the SD card.
I figured I'd just try to manually load kernel/initramfs from the card, but
I seem
to have issues accessing it from U-boot:
Marvell>> mmcinfo
Card did not respond to voltage select!
Device: MRVL_MMC
Manufacturer ID: ff
OEM: ffff
Name: ▒▒▒▒▒
Tran Speed: -1
Rd Block Len: -1
SD version 15.15
High Capacity: Yes
Capacity: -1
Bus Width: 1-bit
I'm also not sure which kernel version to point to. From the config file it
seems like
the supplied kernels do have CONFIG_ARM_APPENDED_DTB set to y; can I just
cat
together uImage-3.9.5-301.fc19.armv7hl and the DTB, or do I need to add the
DTB
to vmlinuz and then convert to uImage?
U-boot version on the mirabox is
U-Boot 2009.08 (Sep 16 2012 - 22:50:06)Marvell version: 1.1.2 NQ
If I can find some time later today I might try putting the image on a USB
stick and
booting from that instead of the SD card, but that's not something I'd want
to keep
as a permanent solution.
Idea anyone ?
J.
_______________________________________________
arm mailing list
arm(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/arm
--
-Jon