I used the following uEnv.txt to boot the Beagleboard XM rev B. I
created a VFAT partition with MLO and u-boot.img on slice 1 and moved
all other partitions up to the next slice by deleting/recreating with
fdisk -c=dos /dev/(device).
uEnv.txt:
abcboard=omap3-beagle-xm
bootpart=0:2
bootfile=boot.scr
bootdir=/
uenvcmd=setenv bootargs console=${console} vram=${vram} root=LABEL=_/ ro
rootwait cgroup_disable=memory fixrtc earlyprintk; ext2load mmc 0:2
0x82000000 /vmlinuz-3.17.4-301.fc21.armv7hl; ext2load mmc 0:2 0x88080000
/uInitrd-3.17.4-301.fc21.armv7hl; ext2load mmc 0:2 0x88000000
/dtb-3.17.4-301.fc21.armv7hl/omap3-beagle-xm-ab.dtb; bootz 0x82000000
0x88080000 0x88000000
fdisk (64GB SD card; resize2fs used on root):
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 32 2047 2016 1008K c W95 FAT32 (LBA)
/dev/mmcblk0p2 2048 1001471 999424 488M 83 Linux
/dev/mmcblk0p3 1001472 2001953 1000482 488.5M 83 Linux
/dev/mmcblk0p4 2001954 124735487 122733534 58.5G 83 Linux
On 1/26/15 5:14 PM, Frans Meulenbroeks wrote:
Follwup: I was unable to boot on beagleboard XM. I used the same
offsets
to write MLO and u-boot.img as for beaglebone, but apparently this is
not ok as MLO is not even loaded.
I have also examined another card that does boot and there the MLO also
lives at a different location (actually there it is the first file in a
VFAT FS, not sure if I can dd it on that same location on the boot
filesystem in the FC21 image.
If someone has done this and can provide some suggestions that would be
greatly appreciated!
Frans
2015-01-26 21:35 GMT+01:00 Frans Meulenbroeks
<fransmeulenbroeks(a)gmail.com <mailto:fransmeulenbroeks@gmail.com>>:
Followup; rewrote the SD card with FC21 for Mele A1000; this also
works on A2000 (A2000 is a slightlt different PCB layout
Sunxi says on
http://linux-sunxi.org/Mele_A1000
" The Mele A1000 has a wedge-like shape whereas the slightly younger
A2000 is more square"
"All motherboards are essentially the same, apart from tiny revisions"
Best regards, Frans
2015-01-26 20:00 GMT+01:00 Frans Meulenbroeks
<fransmeulenbroeks(a)gmail.com <mailto:fransmeulenbroeks@gmail.com>>:
Peter,
Thanks for your reply.
Wrt the orange pi: I know this is not in the list of supported
devices.
However this one is very compatible to the banana pi so I gave
it a stab and it works.
(actually things like bananian also works on that board).
Wrt Beaglebone black: that one also works Indeed I had to keep
the boot button pressed during poweron (and no: it does not help
if you do so during reset).
Wrt mele A2000: this one is identical to A1000, will try with
rawhide as suggested by Hans.
Beagle XM: will try later (probably tomorrow), would be nice to
see that working too.
(btw does a regular beagle also work)?
Best regards, Frans
2015-01-26 9:04 GMT+01:00 Peter Robinson <pbrobinson(a)gmail.com
<mailto:pbrobinson@gmail.com>>:
On Mon, Jan 26, 2015 at 7:31 AM, Frans Meulenbroeks
<fransmeulenbroeks(a)gmail.com
<mailto:fransmeulenbroeks@gmail.com>> wrote:
> Apparently this did not make it to the list. Guess this is because my
list
> membership was not approved yet then.
It doesn't need approval, although you do need to click on
the link
that's emailed to you once you subscribe.
>> With these I managed to boot FC21 successfully on
>> - orange pi (A20, similar to banana pi)
We don't support that as yet.
>> - pandaboard
>> - beaglebone white
We support both of those.
>> However, although according to the instructions the same MLO and
u-boot
>> are to be used for beaglebone black, it does not boot there,
although the
>> very same card works with beaglebone white.
You need to use beaglebone for all of them
>> I have added a serial port to the BBB and captured the boot log. See
at
>> the end of this message.
>> Anyone an idea what is wrong?
>>
>> While at it:
>> According to
>>
http://fedoraproject.org/wiki/Architectures/ARM/F21/Installation/Hardware...
>> beagleboard XM also works but there is no u-boot data in the image
for XM.
>> Suggestions for this?
The uboot you need to use for the xM is called beagle
although YMMV
>> And I noticed the u-boot dir also contains a u-boot for the Mele
A1000. I
>> wanted to try that one the A2000 which is identical hw, but it did
not work
>> (and I do not have serial for the A2000)
>> Anyone a suggestion.
You need a serial port, as for whether they're identical is not
something I know.
>> I also noticed beagleboard being in the uboot folder but it was not
listed
>> on the pages referred to above, Should this work?
>>
>> Lastly I noticed in the image a boot.scr and a boot.cmd file
(slightly
>> different).
>> These seem to be some generic code to boot into a number of boards,
but I
>> could not find instructions how to use/invoke this. Is that going to
be
>> useful for me? How should I use it?
We have a generic kernel, if you have the appropriate DT and
a uboot
that supports DT it's likely you can make them work.
>> Thanks, Frans
>>
>> PS: subscription to the list is pending approval, please also reply
>> directly. Thanks.
No it's not, it made it to the list.
>> ---- boot log from beaglebone black ----
You're booting from the eMMC and it doesn't support the
generic distro
boot functionality. Hit the button to force it to boot from
the mSD
card or wipe the first few kb of the eMMC.
Peter
_______________________________________________
arm mailing list
arm(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/arm