New IT forum
27 June 2022, 06:17:21 pm *
Welcome, %1$s. Please login or register.

: GertDuino now in stock.
 
Pages: [1]

Author Topic: Mirabox multiboot  (Read 5321 times)

NewIT_Malcolm

  • Administrator
  • Jr. Member
  • *****
  • Posts: 65
Mirabox multiboot
« on: 15 October 2013, 10:51:07 am »

Here are some instructions to convert the Mirabox to a multiboot.

This will use the external microSD as the 1st boot device then the internal microSD then the Nand.
To use the internal microSD which is identified as 'sda' you will need to close internal jumber J29.
Also the standard uboot does not seem to recognise cards of 16Gb or above that I have tested.

Modified variables

Code: [Select]
bootdelay=3
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
console=console=ttyS0,115200
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:6m(boot),-(rootfs)
sata_delay_reset=0
enaExtDisk=no
MALLOC_len=5
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:10.4.50.254:255.255.255.0:KW40:eth0:none
image_name=uImage
load_addr=0x02000000
standalone=fsload $load_addr $image_name;setenv bootargs $console $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm $load_addr;
ethaddr=00:50:43:00:39:02
eth1addr=00:50:43:ca:39:02
ethmtu=1500
eth1mtu=1500
mvNetConfig=mv_net_config=1,(00:50:43:11:11:11,0:1:2:3:4),mtu=1500
usb0Mode=host
usb1Mode=host
usbActive=2
yuk_ethaddr=00:00:00:EE:51:81
nandEcc=1bit
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
eeeEnable=no
ethact=egiga0
bootcmd_nand=setenv bootargs ${console} $(mtdparts) ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs; run boot_nand;
boot_nand=nand read 0x6400000 0x400000 0x400000; bootm 0x6400000
bootcmd_sdb=setenv bootargs ${console} root=/dev/sdb2 panic=10 rootwait; usb start; run boot_sdb;
boot_sdb=fatload usb 1 0x6400000 uImage; bootm 0x6400000;
bootcmd_sda=setenv bootargs ${console} root=/dev/sda2 panic=10 rootwait; usb start; run boot_sda;
boot_sda=fatload usb 0 0x6400000 uImage; bootm 0x6400000;
bootcmd=run bootcmd_sdb; run bootcmd_sda; run bootcmd_nand;
stdin=serial
stdout=serial
stderr=serial
enaMonExt=no
pexMode=RC
setL2CacheWT=no
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no

Environment size: 1607/524284 bytes

Commands used to convert a standard Mirabox to a multiboot Mirabox.

Code: [Select]
setenv bootcmd_nand 'setenv bootargs ${console} $(mtdparts) ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs; run boot_nand;'
setenv boot_nand 'nand read 0x6400000 0x400000 0x400000; bootm 0x6400000'
setenv bootcmd_sdb 'setenv bootargs ${console} root=/dev/sdb2 panic=10 rootwait; usb start; run boot_sdb;'
setenv boot_sdb 'fatload usb 1 0x6400000 uImage; bootm 0x6400000;'
setenv bootcmd_sda 'setenv bootargs ${console} root=/dev/sda2 panic=10 rootwait; usb start; run boot_sda;'
setenv boot_sda 'fatload usb 0 0x6400000 uImage; bootm 0x6400000;'
setenv bootcmd 'run bootcmd_sdb; run bootcmd_sda; run bootcmd_nand;'
setenv bootargs
saveenv


Here is a link to a Wheezy image to try out. It's using the standard v2.6.35.9 kernel.
http://downloadsnewit.co.uk/SD-images/Mirabox/
Logged

josue

  • Newbie
  • *
  • Posts: 22
Re: Mirabox multiboot
« Reply #1 on: 21 October 2013, 01:33:07 pm »

Hello,

I have one probleme with this link : http://downloadsnewit.co.uk/SD-images/Mirabox/

The rootfs partition is corrupted.

And have you a news kernel because the kernel 2.6 is very old.

Thank you
Logged

hank

  • Newbie
  • *
  • Posts: 9
Re: Mirabox multiboot
« Reply #2 on: 27 November 2013, 02:16:51 am »

Logged

hank

  • Newbie
  • *
  • Posts: 9
Re: Mirabox multiboot
« Reply #3 on: 10 December 2013, 08:46:29 am »

Logged

simoncn

  • Newbie
  • *
  • Posts: 5
Re: Mirabox multiboot
« Reply #4 on: 02 February 2014, 08:10:11 pm »

Wheezy with proper kernel (3.2.x) http://rapidshare.com/share/383FE2D9B8616D0504AB809AA5C37649

Thanks for posting this. I have it working, but I can't get it to recognise my sound card (USB DAC). The same card is working fine in a SheevaPlug and in a Raspberry Pi.

Do I need to install additional kernel modules to enable sound support? If so, how? My sound card is showing up as a USB device in lsusb, but there aren't any snd* modules in /proc/modules. I've got alsa installed, and aplay and alsactl are telling me "no soundcards found".
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!