* [U-Boot] Veyron-speedy u-boot
@ 2017-02-16 0:31 Riley Baird
2017-02-16 20:44 ` Simon Glass
0 siblings, 1 reply; 7+ messages in thread
From: Riley Baird @ 2017-02-16 0:31 UTC (permalink / raw)
To: u-boot
Hi Simon,
I've tried porting u-boot to the veyron-speedy Chromebook, based upon
the veyron-minnie patch.
I've attached a patch with my changes to this email.
However, when I boot, all I get is a black screen. So, I have some
questions:
1. Does u-boot show output to the laptop's screen, or do I have to make
a serial console?
2. If I have to make a serial console, where do I do this/what is the
pin layout?
3. Do I just have to sign u-boot-dtb.img with vbutil_kernel before
dd-ing it onto a USB, or do I have to do something else to make the
right image?
Yours thankfully,
Riley Baird
-------------- next part --------------
A non-text attachment was scrubbed...
Name: veyron-speedy.diff
Type: text/x-diff
Size: 10264 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170216/6d430e0d/attachment.diff>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Veyron-speedy u-boot
2017-02-16 0:31 Riley Baird
@ 2017-02-16 20:44 ` Simon Glass
2017-02-17 6:44 ` Tomeu Vizoso
0 siblings, 1 reply; 7+ messages in thread
From: Simon Glass @ 2017-02-16 20:44 UTC (permalink / raw)
To: u-boot
Hi Riley,
On 15 February 2017 at 17:31, Riley Baird <riley@openmailbox.org> wrote:
>
> Hi Simon,
>
> I've tried porting u-boot to the veyron-speedy Chromebook, based upon
> the veyron-minnie patch.
>
> I've attached a patch with my changes to this email.
>
> However, when I boot, all I get is a black screen. So, I have some
> questions:
>
> 1. Does u-boot show output to the laptop's screen, or do I have to make
> a serial console?
It should show on both if all is well.
> 2. If I have to make a serial console, where do I do this/what is the
> pin layout?
You need a servo connector on the board - see here:
https://www.chromium.org/chromium-os/servo
> 3. Do I just have to sign u-boot-dtb.img with vbutil_kernel before
> dd-ing it onto a USB, or do I have to do something else to make the
> right image?
I normally start up U-Boot from scratch, but it sounds like you are
chain-loading it.
In that case I'm not sure what to do as I have not tried it. Your
steps sound correct.
I've copied Tomeu who may know how to do this. If you figure it out it
would be great to get a patch to README.rockchip.
Regards,
Simon
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Veyron-speedy u-boot
2017-02-16 20:44 ` Simon Glass
@ 2017-02-17 6:44 ` Tomeu Vizoso
2017-02-17 9:18 ` Riley Baird
0 siblings, 1 reply; 7+ messages in thread
From: Tomeu Vizoso @ 2017-02-17 6:44 UTC (permalink / raw)
To: u-boot
Hi Riley,
On 16 February 2017 at 21:44, Simon Glass <sjg@chromium.org> wrote:
> Hi Riley,
>
> On 15 February 2017 at 17:31, Riley Baird <riley@openmailbox.org> wrote:
>
>> 3. Do I just have to sign u-boot-dtb.img with vbutil_kernel before
>> dd-ing it onto a USB, or do I have to do something else to make the
>> right image?
>
> I normally start up U-Boot from scratch, but it sounds like you are
> chain-loading it.
When chainloading, depthcharge will load and execute u-boot from a
fixed address, and U-Boot needs to be told about it.
I chainloaded U-Boot on a nyan chromebook like this:
https://git.collabora.com/cgit/user/tomeu/u-boot.git/commit/?h=nyan-big&id=35bcb399c0d78ba6a050cc775d467ee75ed06923
The important bit is changing u-boot's CONFIG_SYS_TEXT_BASE according
to depthcharge's CONFIG_KERNEL_START.
https://chromium.googlesource.com/chromiumos/platform/depthcharge/+/master/board/nyan_big/defconfig#11
You may need to add some padding as shown in the .its file, but I
don't remember now why CONFIG_SYS_TEXT_BASE cannot be adjusted instead
(almost 2 years have passed already).
I think you can ignore the EAE commit in that branch because that code
has been rewritten in u-boot since.
Good luck,
Tomeu
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Veyron-speedy u-boot
2017-02-17 6:44 ` Tomeu Vizoso
@ 2017-02-17 9:18 ` Riley Baird
2017-02-17 10:36 ` Tomeu Vizoso
0 siblings, 1 reply; 7+ messages in thread
From: Riley Baird @ 2017-02-17 9:18 UTC (permalink / raw)
To: u-boot
Hi Tomeu and Simon,
Thanks for giving me pointers on how the system works and how to get
u-boot onto it. I'll try and get it working over the next couple of
days.
I'm very glad that it's possible to chainload and the output comes out
on the laptop screen, because I got a spreadsheet to work out how much
it would cost to build a servo, and it was much more expensive than I
thought! :)
Thanks again,
Riley
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Veyron-speedy u-boot
2017-02-17 9:18 ` Riley Baird
@ 2017-02-17 10:36 ` Tomeu Vizoso
2017-02-22 3:59 ` Simon Glass
0 siblings, 1 reply; 7+ messages in thread
From: Tomeu Vizoso @ 2017-02-17 10:36 UTC (permalink / raw)
To: u-boot
On 17 February 2017 at 10:18, Riley Baird <riley@openmailbox.org> wrote:
> Hi Tomeu and Simon,
>
> Thanks for giving me pointers on how the system works and how to get
> u-boot onto it. I'll try and get it working over the next couple of
> days.
>
> I'm very glad that it's possible to chainload and the output comes out
> on the laptop screen, because I got a spreadsheet to work out how much
> it would cost to build a servo, and it was much more expensive than I
> thought! :)
Depending on what you plan to do with the machine, serial output can
be very handy, specially if you want to run automated tests to
validate whatever you end up doing with it.
Simon will know more about this, but I thought that the CPU UART lines
are separate in the flex cable, so you may be able to find pads in the
board that you can solder to.
Regards,
Tomeu
>
> Thanks again,
>
> Riley
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Veyron-speedy u-boot
@ 2017-02-17 19:22 Vagrant Cascadian
0 siblings, 0 replies; 7+ messages in thread
From: Vagrant Cascadian @ 2017-02-17 19:22 UTC (permalink / raw)
To: u-boot
> I'm very glad that it's possible to chainload and the output comes out
> on the laptop screen
Really excited to hear about your work on this!
I'd be happy to test it on a veryon-speedy system I have available;
Please feel free to CC me with updates.
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170217/d2733206/attachment-0001.sig>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Veyron-speedy u-boot
2017-02-17 10:36 ` Tomeu Vizoso
@ 2017-02-22 3:59 ` Simon Glass
0 siblings, 0 replies; 7+ messages in thread
From: Simon Glass @ 2017-02-22 3:59 UTC (permalink / raw)
To: u-boot
Hi Tomeu,
On 17 February 2017 at 03:36, Tomeu Vizoso <tomeu@tomeuvizoso.net> wrote:
> On 17 February 2017 at 10:18, Riley Baird <riley@openmailbox.org> wrote:
>> Hi Tomeu and Simon,
>>
>> Thanks for giving me pointers on how the system works and how to get
>> u-boot onto it. I'll try and get it working over the next couple of
>> days.
>>
>> I'm very glad that it's possible to chainload and the output comes out
>> on the laptop screen, because I got a spreadsheet to work out how much
>> it would cost to build a servo, and it was much more expensive than I
>> thought! :)
>
> Depending on what you plan to do with the machine, serial output can
> be very handy, specially if you want to run automated tests to
> validate whatever you end up doing with it.
>
> Simon will know more about this, but I thought that the CPU UART lines
> are separate in the flex cable, so you may be able to find pads in the
> board that you can solder to.
Yes there are on separate lines (the servo connector) but it is a bit
tricky to solder onto. You need a special connector which is cheap,
but fine-pitched.
>
> Regards,
>
> Tomeu
>
>>
>> Thanks again,
>>
>> Riley
Regards,
Simon
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-02-22 3:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-17 19:22 [U-Boot] Veyron-speedy u-boot Vagrant Cascadian
-- strict thread matches above, loose matches on Subject: below --
2017-02-16 0:31 Riley Baird
2017-02-16 20:44 ` Simon Glass
2017-02-17 6:44 ` Tomeu Vizoso
2017-02-17 9:18 ` Riley Baird
2017-02-17 10:36 ` Tomeu Vizoso
2017-02-22 3:59 ` Simon Glass
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox