HummingBoard-i2 does not boot from install image

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

HummingBoard-i2 does not boot from install image

Yoshiro MIHIRA
I have HummingBoard-i2 and I could not boot 12.0-CURRENT boot image.
Please let me know to boot 12.0-CURRENT with HummingBoard.

I tested
FreeBSD-12.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20170619-r320095.img

And it does not boot up with below message[NG].

U-Boot SPL 2017.01-rc3 (Jun 13 2017 - 02:16:03)
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

I have a old image
as FreeBSD-11.0-STABLE-arm-armv6-CUBOX-HUMMINGBOARD-20161221-r310359.img
it can boot[OK].

Consoles: U-Boot console
Compatible U-Boot API signature found @0x4f7708a8

FreeBSD/armv6 U-Boot loader, Revision 1.2
([hidden email], Wed Dec 21 18:14:05 UTC 2016)

DRAM: 1024MB
Number of U-Boot devices: 2
U-Boot env: loaderdev='mmc 0'
Found U-Boot device: disk
  Checking unit=0 slice=<auto> partition=<auto>... good.
Booting from disk0s2a:
/boot/kernel/kernel data=0x6ec964+0x14b69c syms=[0x4+0x7cef0+0x4+0x90376]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 4 seconds...

Thanks
Yoshiro MIHIRA
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: HummingBoard-i2 does not boot from install image

Emmanuel Vadot-7
On Wed, 05 Jul 2017 12:01:17 +0000
Yoshiro MIHIRA <[hidden email]> wrote:

> I have HummingBoard-i2 and I could not boot 12.0-CURRENT boot image.
> Please let me know to boot 12.0-CURRENT with HummingBoard.
>
> I tested
> FreeBSD-12.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20170619-r320095.img
>
> And it does not boot up with below message[NG].
>
> U-Boot SPL 2017.01-rc3 (Jun 13 2017 - 02:16:03)
> SPL: Unsupported Boot Device!
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
>
> I have a old image
> as FreeBSD-11.0-STABLE-arm-armv6-CUBOX-HUMMINGBOARD-20161221-r310359.img
> it can boot[OK].
>
> Consoles: U-Boot console
> Compatible U-Boot API signature found @0x4f7708a8
>
> FreeBSD/armv6 U-Boot loader, Revision 1.2
> ([hidden email], Wed Dec 21 18:14:05 UTC 2016)
>
> DRAM: 1024MB
> Number of U-Boot devices: 2
> U-Boot env: loaderdev='mmc 0'
> Found U-Boot device: disk
>   Checking unit=0 slice=<auto> partition=<auto>... good.
> Booting from disk0s2a:
> /boot/kernel/kernel data=0x6ec964+0x14b69c syms=[0x4+0x7cef0+0x4+0x90376]
>
> Hit [Enter] to boot immediately, or any other key for command prompt.
> Booting [/boot/kernel/kernel] in 4 seconds...
>
> Thanks
> Yoshiro MIHIRA

 Hello,

 Can you check the U-Boot version on the 11-STABLE image ?
 I guess that it's an older version (before we switched the ports to
use u-boot-master).
 I don't have this board so I cannot help more right now, but it seems
that it is a u-boot problem. cc imp@ as he made the u-boot switch.
 Warner do you have this board to test U-Boot on ?

--
Emmanuel Vadot <[hidden email]> <[hidden email]>
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: HummingBoard-i2 does not boot from install image

Ian Lepore-3
In reply to this post by Yoshiro MIHIRA
On Wed, 2017-07-05 at 12:01 +0000, Yoshiro MIHIRA wrote:

> I have HummingBoard-i2 and I could not boot 12.0-CURRENT boot image.
> Please let me know to boot 12.0-CURRENT with HummingBoard.
>
> I tested
> FreeBSD-12.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20170619-
> r320095.img
>
> And it does not boot up with below message[NG].
>
> U-Boot SPL 2017.01-rc3 (Jun 13 2017 - 02:16:03)
> SPL: Unsupported Boot Device!
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
>
> I have a old image
> as FreeBSD-11.0-STABLE-arm-armv6-CUBOX-HUMMINGBOARD-20161221-
> r310359.img
> it can boot[OK].
>
> Consoles: U-Boot console
> Compatible U-Boot API signature found @0x4f7708a8
>
> FreeBSD/armv6 U-Boot loader, Revision 1.2
> ([hidden email], Wed Dec 21 18:14:05 UTC 2016)
>
> DRAM: 1024MB
> Number of U-Boot devices: 2
> U-Boot env: loaderdev='mmc 0'
> Found U-Boot device: disk
>   Checking unit=0 slice=<auto> partition=<auto>... good.
> Booting from disk0s2a:
> /boot/kernel/kernel data=0x6ec964+0x14b69c
> syms=[0x4+0x7cef0+0x4+0x90376]
>
> Hit [Enter] to boot immediately, or any other key for command prompt.
> Booting [/boot/kernel/kernel] in 4 seconds...
>
> Thanks
> Yoshiro MIHIRA

I just downloaded that same 20170619 image and it boots fine on my
Cubox, but its build date/time are different:

U-Boot SPL 2017.01-rc3 (Jun 19 2017 - 20:54:45)

I don't have a hummingboard to test, but u-boot has always been able to
use the same image to boot a cubox and a hummingboard.

-- Ian

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: HummingBoard-i2 does not boot from install image

Russell Haley
On Wed, Jul 5, 2017 at 1:30 PM, Ian Lepore <[hidden email]> wrote:

> On Wed, 2017-07-05 at 12:01 +0000, Yoshiro MIHIRA wrote:
>> I have HummingBoard-i2 and I could not boot 12.0-CURRENT boot image.
>> Please let me know to boot 12.0-CURRENT with HummingBoard.
>>
>> I tested
>> FreeBSD-12.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20170619-
>> r320095.img
>>
>> And it does not boot up with below message[NG].
>>
>> U-Boot SPL 2017.01-rc3 (Jun 13 2017 - 02:16:03)
>> SPL: Unsupported Boot Device!
>> SPL: failed to boot from all boot devices
>> ### ERROR ### Please RESET the board ###
>>
>> I have a old image
>> as FreeBSD-11.0-STABLE-arm-armv6-CUBOX-HUMMINGBOARD-20161221-
>> r310359.img
>> it can boot[OK].
>>
>> Consoles: U-Boot console
>> Compatible U-Boot API signature found @0x4f7708a8
>>
>> FreeBSD/armv6 U-Boot loader, Revision 1.2
>> ([hidden email], Wed Dec 21 18:14:05 UTC 2016)
>>
>> DRAM: 1024MB
>> Number of U-Boot devices: 2
>> U-Boot env: loaderdev='mmc 0'
>> Found U-Boot device: disk
>>   Checking unit=0 slice=<auto> partition=<auto>... good.
>> Booting from disk0s2a:
>> /boot/kernel/kernel data=0x6ec964+0x14b69c
>> syms=[0x4+0x7cef0+0x4+0x90376]
>>
>> Hit [Enter] to boot immediately, or any other key for command prompt.
>> Booting [/boot/kernel/kernel] in 4 seconds...
>>
>> Thanks
>> Yoshiro MIHIRA
>
> I just downloaded that same 20170619 image and it boots fine on my
> Cubox, but its build date/time are different:
>
> U-Boot SPL 2017.01-rc3 (Jun 19 2017 - 20:54:45)
>
> I don't have a hummingboard to test, but u-boot has always been able to
> use the same image to boot a cubox and a hummingboard.

There are different hummingboard baseboards and different hummingboard
SOMs and they can be mixed and matched. The SOMs come in single,
dual-lite, dual, and quad core configurations. The dual-lite and dual
SOMs ARE NOT THE SAME architecture and require different uboot
'stuffs'. I don't remember off the top of my head, but I seem to
remember having to build two parts of U-boot and then create one
binary? I would wager that you have a dual-lite SOM and there is some
'stuffs' you will need to do with u-boot?

I remember thinking I dodged a bullet by buying the dual and not
dual-lite SOM so the stock image worked on my board. Sorry, I'm pinned
busy right now so I can't look up what 'stuffs' means. It should be on
the wiki or in the mailing list archives. Or was it in the u-boot
readme in ports? :(

Russ
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: HummingBoard-i2 does not boot from install image

Yoshiro MIHIRA
Hi Russell,

Thank you for your information.
Temporary I could installed FreeBSD-12.0-current into my hummingboard-i2
with mixed image.

1. use u-boot of 11.0-RELEASE (U-Boot 2013.10-rc4 (Sep 29 2016 - 10:50:56))
2. use kernel and userland from latest current image
   FreeBSD-12.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20170717-r321072.img

I will write  the detailed steps to create mixed image in my blog.
http://sanpeisbllog.blogspot.jp/2016/10/freebsdsolidrun-hummingboard-i2.html

If I have a time, I will try to solve this issue.

Thanks
Yoshiro MIHIRA


2017年7月6日(木) 7:04 Russell Haley <[hidden email]>:

> On Wed, Jul 5, 2017 at 1:30 PM, Ian Lepore <[hidden email]> wrote:
> > On Wed, 2017-07-05 at 12:01 +0000, Yoshiro MIHIRA wrote:
> >> I have HummingBoard-i2 and I could not boot 12.0-CURRENT boot image.
> >> Please let me know to boot 12.0-CURRENT with HummingBoard.
> >>
> >> I tested
> >> FreeBSD-12.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20170619-
> >> r320095.img
> >>
> >> And it does not boot up with below message[NG].
> >>
> >> U-Boot SPL 2017.01-rc3 (Jun 13 2017 - 02:16:03)
> >> SPL: Unsupported Boot Device!
> >> SPL: failed to boot from all boot devices
> >> ### ERROR ### Please RESET the board ###
> >>
> >> I have a old image
> >> as FreeBSD-11.0-STABLE-arm-armv6-CUBOX-HUMMINGBOARD-20161221-
> >> r310359.img
> >> it can boot[OK].
> >>
> >> Consoles: U-Boot console
> >> Compatible U-Boot API signature found @0x4f7708a8
> >>
> >> FreeBSD/armv6 U-Boot loader, Revision 1.2
> >> ([hidden email], Wed Dec 21 18:14:05 UTC 2016)
> >>
> >> DRAM: 1024MB
> >> Number of U-Boot devices: 2
> >> U-Boot env: loaderdev='mmc 0'
> >> Found U-Boot device: disk
> >>   Checking unit=0 slice=<auto> partition=<auto>... good.
> >> Booting from disk0s2a:
> >> /boot/kernel/kernel data=0x6ec964+0x14b69c
> >> syms=[0x4+0x7cef0+0x4+0x90376]
> >>
> >> Hit [Enter] to boot immediately, or any other key for command prompt.
> >> Booting [/boot/kernel/kernel] in 4 seconds...
> >>
> >> Thanks
> >> Yoshiro MIHIRA
> >
> > I just downloaded that same 20170619 image and it boots fine on my
> > Cubox, but its build date/time are different:
> >
> > U-Boot SPL 2017.01-rc3 (Jun 19 2017 - 20:54:45)
> >
> > I don't have a hummingboard to test, but u-boot has always been able to
> > use the same image to boot a cubox and a hummingboard.
>
> There are different hummingboard baseboards and different hummingboard
> SOMs and they can be mixed and matched. The SOMs come in single,
> dual-lite, dual, and quad core configurations. The dual-lite and dual
> SOMs ARE NOT THE SAME architecture and require different uboot
> 'stuffs'. I don't remember off the top of my head, but I seem to
> remember having to build two parts of U-boot and then create one
> binary? I would wager that you have a dual-lite SOM and there is some
> 'stuffs' you will need to do with u-boot?
>
> I remember thinking I dodged a bullet by buying the dual and not
> dual-lite SOM so the stock image worked on my board. Sorry, I'm pinned
> busy right now so I can't look up what 'stuffs' means. It should be on
> the wiki or in the mailing list archives. Or was it in the u-boot
> readme in ports? :(
>
> Russ
>
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: HummingBoard-i2 does not boot from install image

Russell Haley
On Mon, Jul 24, 2017 at 6:00 AM, Yoshiro MIHIRA <[hidden email]> wrote:

> Hi Russell,
>
> Thank you for your information.
> Temporary I could installed FreeBSD-12.0-current into my hummingboard-i2
> with mixed image.
>
> 1. use u-boot of 11.0-RELEASE (U-Boot 2013.10-rc4 (Sep 29 2016 - 10:50:56))
> 2. use kernel and userland from latest current image
>    FreeBSD-12.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20170717-r321072.img
>
> I will write  the detailed steps to create mixed image in my blog.
> http://sanpeisbllog.blogspot.jp/2016/10/freebsdsolidrun-hummingboard-i2.html
>
> If I have a time, I will try to solve this issue.

I had a quick peer at u-boot last week. As of last Tuesday, the port
was pointing at the wrong u-boot version so there is an issue they are
trying to fix with ports. That may play well for you because you could
grab it and try it and see if it works for you(there was a checksum
warning you will need to override). Either way, you could build u-boot
and have a look at the make output (not make install, it's already
assembled at that point). There are two pieces generated, the SPL
mentioned in your boot code is the base piece of u-boot I think. Then
there are board specific pieces you need to 'weld on'.  The old port
had a file that explained how to assemble the SPL and the board
specific parts.

Other non-binary options
- If you can't get your hands on u-boot 2013, you could move over to a
GNU/Linux platform and build u-boot from the solid-run u-boot fork
- Check if the u-boot 2017 build output has the same peices as the
2013 build output so this could be permanently rectified

I saw some comments in #bsdmips about Mr. Warner Losh updating u-boot
so now may be a good time to speak up. I personally would a, contact
Warner directly ([hidden email]) and check bugillza
(https://bugs.freebsd.org/bugzilla/) for this otherwise you're voice
may get lost.

As an aside, I have a working SSD SATA drive on my HB right now too!
Hopefully that won't take too long to get the patch into head.

Good Luck,
Russ

> Thanks
> Yoshiro MIHIRA
>
>
> 2017年7月6日(木) 7:04 Russell Haley <[hidden email]>:
>>
>> On Wed, Jul 5, 2017 at 1:30 PM, Ian Lepore <[hidden email]> wrote:
>> > On Wed, 2017-07-05 at 12:01 +0000, Yoshiro MIHIRA wrote:
>> >> I have HummingBoard-i2 and I could not boot 12.0-CURRENT boot image.
>> >> Please let me know to boot 12.0-CURRENT with HummingBoard.
>> >>
>> >> I tested
>> >> FreeBSD-12.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20170619-
>> >> r320095.img
>> >>
>> >> And it does not boot up with below message[NG].
>> >>
>> >> U-Boot SPL 2017.01-rc3 (Jun 13 2017 - 02:16:03)
>> >> SPL: Unsupported Boot Device!
>> >> SPL: failed to boot from all boot devices
>> >> ### ERROR ### Please RESET the board ###
>> >>
>> >> I have a old image
>> >> as FreeBSD-11.0-STABLE-arm-armv6-CUBOX-HUMMINGBOARD-20161221-
>> >> r310359.img
>> >> it can boot[OK].
>> >>
>> >> Consoles: U-Boot console
>> >> Compatible U-Boot API signature found @0x4f7708a8
>> >>
>> >> FreeBSD/armv6 U-Boot loader, Revision 1.2
>> >> ([hidden email], Wed Dec 21 18:14:05 UTC 2016)
>> >>
>> >> DRAM: 1024MB
>> >> Number of U-Boot devices: 2
>> >> U-Boot env: loaderdev='mmc 0'
>> >> Found U-Boot device: disk
>> >>   Checking unit=0 slice=<auto> partition=<auto>... good.
>> >> Booting from disk0s2a:
>> >> /boot/kernel/kernel data=0x6ec964+0x14b69c
>> >> syms=[0x4+0x7cef0+0x4+0x90376]
>> >>
>> >> Hit [Enter] to boot immediately, or any other key for command prompt.
>> >> Booting [/boot/kernel/kernel] in 4 seconds...
>> >>
>> >> Thanks
>> >> Yoshiro MIHIRA
>> >
>> > I just downloaded that same 20170619 image and it boots fine on my
>> > Cubox, but its build date/time are different:
>> >
>> > U-Boot SPL 2017.01-rc3 (Jun 19 2017 - 20:54:45)
>> >
>> > I don't have a hummingboard to test, but u-boot has always been able to
>> > use the same image to boot a cubox and a hummingboard.
>>
>> There are different hummingboard baseboards and different hummingboard
>> SOMs and they can be mixed and matched. The SOMs come in single,
>> dual-lite, dual, and quad core configurations. The dual-lite and dual
>> SOMs ARE NOT THE SAME architecture and require different uboot
>> 'stuffs'. I don't remember off the top of my head, but I seem to
>> remember having to build two parts of U-boot and then create one
>> binary? I would wager that you have a dual-lite SOM and there is some
>> 'stuffs' you will need to do with u-boot?
>>
>> I remember thinking I dodged a bullet by buying the dual and not
>> dual-lite SOM so the stock image worked on my board. Sorry, I'm pinned
>> busy right now so I can't look up what 'stuffs' means. It should be on
>> the wiki or in the mailing list archives. Or was it in the u-boot
>> readme in ports? :(
>>
>> Russ
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: HummingBoard-i2 does not boot from install image

Ian Lepore-3
On Mon, 2017-07-24 at 07:02 -0700, Russell Haley wrote:

> On Mon, Jul 24, 2017 at 6:00 AM, Yoshiro MIHIRA <[hidden email]>
> wrote:
> >
> > Hi Russell,
> >
> > Thank you for your information.
> > Temporary I could installed FreeBSD-12.0-current into my
> > hummingboard-i2
> > with mixed image.
> >
> > 1. use u-boot of 11.0-RELEASE (U-Boot 2013.10-rc4 (Sep 29 2016 -
> > 10:50:56))
> > 2. use kernel and userland from latest current image
> >    FreeBSD-12.0-CURRENT-arm-armv6-CUBOX-HUMMINGBOARD-20170717-
> > r321072.img
> >
> > I will write  the detailed steps to create mixed image in my blog.
> > http://sanpeisbllog.blogspot.jp/2016/10/freebsdsolidrun-hummingboar
> > d-i2.html
> >
> > If I have a time, I will try to solve this issue.
> I had a quick peer at u-boot last week. As of last Tuesday, the port
> was pointing at the wrong u-boot version so there is an issue they
> are trying to fix with ports.

I think there is something wrong with your ports checkout.  The cubox-
hummingboard port hasn't referred to the 2013.10 version of uboot for a
long time.  If your u-boot-cubox-hummingboard Makefile doesn't start
with these lines, your checkout is broken:

# $FreeBSD: head/sysutils/u-boot-cubox-hummingboard/Makefile 435808
2017-03-09 22:44:33Z ian $

MAINTAINER= [hidden email]
MASTERDIR= ${.CURDIR}/../u-boot-master

MODEL= cubox-hummingboard
BOARD_CONFIG= mx6cuboxi_defconfig
FAMILY= imx6

-- Ian
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[hidden email]"