[meta-freescale] Getting Started With A New freescale / NXP LS1021-TWR
Thomas Thorne
Thomas.Thorne at net2edge.com
Wed Aug 31 08:34:23 PDT 2016
Hi Bob,
I am pleased to report that using the latest community BSP I have been able to get an LS1021A-TWR-PB to boot and provide a login prompt.
Poky (Yocto Project Reference Distro) 2.1.1 ls1021atwr /dev/ttyS0
ls1021atwr login: root
root at ls1021atwr:~#
root at ls1021atwr:~# uname -a
Linux ls1021atwr 3.12.37-rt51+ls1+gf488de6 #1 SMP Wed Aug 31 13:13:11 BST 2016 armv7l armv7l armv7l GNU/Linux
My original problem was an issue with the command I had saves as an environment variable in u-boot. Once that was corrected things started to work much better. My next hiccup was trying to do an NFS boot when the kernel does not seem to like starting with a static IP address. Now I am up and rolling the IP stack is at least working for a local loopback ping.
> There are older versions of the Tower board with earlier (rev 1 ) silicon. I have one of these, but it's on the shelf.
Do you know if there is a way to determine which version of silicon the chip is? As I have got this all up and working with the latest code, I take it that I am looking at a board with the more recent silicon version on it.
Regards,
Thomas A. F. Thorne<mailto:Thomas.Thorne at Net2Edge.com> Software Engineer Net2Edge<http://www.net2edge.com/>
From: Bob Cochran [mailto:yocto at mindchasers.com]
Sent: 26 August 2016 21:16
To: Thomas Thorne <Thomas.Thorne at net2edge.com>; Zhenhua Luo <zhenhua.luo at nxp.com>
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] Getting Started With A New freescale / NXP LS1021-TWR
Hi Tom,
Yes, I can get an LS1021A-TWR-PB to boot Linux and also run CodeWarrior using all master branches. I'm doing a fresh build now and can re-confirm this a little later.
Which repo are you using for meta-freescale and linux-qoriq?
I think using github.com/Freescale/meta-freescale.git will give workable results now.
There are older versions of the Tower board with earlier (rev 1 ) silicon. I have one of these, but it's on the shelf.
Bob
On 08/26/2016 03:55 AM, Thomas A. F. Thorne MEng AUS MIET wrote:
Hello Zhenhua,
Thank you for your help, setting that missing variable soleved my
issue! I did:
=> setenv consoledev ttyS0
After that I was able to get the netboot command I had working! Linux
started up and then issued a Kernel panic. At least I have some out put
to work with now though.
To be honest I have no idea which kernel I just booted over NFS, it
could be from the freescale SDK, a neat Yocto Fido or Krogoth with
community or the one build as per the community instructions. I'll try
booting with something known and see how var I get.
Grateful Regards,
Thomas Thorne Software Engineer Net2Edge Limited
On 26/08/16 04:26, Zhenhua Luo wrote:
Hello Thomas,
In u-boot environment, you don't set the "consoledev" variable. Please set this variable and try again.
Best Regards,
Zhenhua
-----Original Message-----
From: meta-freescale-bounces at yoctoproject.org<mailto:meta-freescale-bounces at yoctoproject.org> [mailto:meta-freescale-
bounces at yoctoproject.org<mailto:bounces at yoctoproject.org>] On Behalf Of Thomas A. F. Thorne MEng AUS MIET
Sent: Thursday, August 25, 2016 8:53 PM
To: meta-freescale at yoctoproject.org<mailto:meta-freescale at yoctoproject.org>
Subject: [meta-freescale] Getting Started With A New freescale / NXP LS1021-
TWR
Good afternoon,
Has anyone got a kernel from a recent release to come up on a recently
produced LS1021TWR board? I have been struggling to get an LS1021-TWR
board booting from images that I have generated using the community
freescale. I have also tried to use the freescale SDK for the board without
much success, so it seems likely there is some common fault, probably with my
configuration, if not the hardware or pre-loaded binaries.
I ask specifically about it being a recently produced board as it sounds as if the
CPU has been updated and may not work as it did before. This is based off of
some discussions I had with a distributor over the past couple of weeks.
Initially I thought this was something causing an issue with just the LS1021-IOT
boards and their SDKs but it sounds like both Internet Of Things and ToWeR
designs are effected.
I had made a post about my difficulties on the NXP Community site, but not
received any comments on it yet.
https://community.nxp.com/thread/432937 The post includes a summary of
my issue, the environment variables that I have set and the serial output from
the board. I can provide further details through this mailing list too, but I did
not want to generate a huge email full of what might be irrelevant data. The
short summary is that I get as far as the "Starting kernel ..." message and then
see no further output from the board. This is true when trying to boot from
the SD card or over NFS.
If anyone can provide any suggestions or pointers I would be very grateful to
hear them.
Regards, Thomas
--
Thomas Thorne Software Engineer Net2Edge Limited
Tel: +44 3450 130 030
Email: Thomas.Thorne at Net2Edge.com<mailto:Thomas.Thorne at Net2Edge.com>
Web: http://www.Net2Edge.com/
Net2Edge Limited is a company registered in England & Wales (Company No.
2438435, VAT No. GB 537553821) Passfield Oak, Liphook, Hampshire, GU30 7RL.
This email transmission is confidential and intended solely for the person or
organisation to whom it is addressed. If you are not the intended recipient, you
must not copy, distribute or disseminate the information, or take any action in
reliance of it. Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be the views of
any organisation or employer. If you have received this message in error, do
not open any attachment but please notify the sender (above) and delete this
message from your system. Please rely on your own virus check. Although all
outbound mail is checked for viruses, no responsibility is taken by the sender
for any damage rising out of any bug or virus infection.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160831/c952f1c7/attachment.html>
More information about the meta-freescale
mailing list