Forums » Software Development »
Pre production (-X) modules with newer sd image
Added by Pierre-Yves BRETECHER over 10 years ago
Hi,
I'am just starting to discover the eval kit. The one I ordered from Mouser was a pre-prod (- X) version. I understand from the errata sheet that the identified issues are not a problem for me (FPGA DDR, QSPI Nor, RVB LED).
I have been able to perform some basic linux app debug through Eclipse/ethernet (:-)).
Then I tried to update to the latest sd image distribution (1B). I noticed somewhere in a forum thread that the UART baud rate had changed --> OK
I also noticed that the orange LED on the SOM does not stay ON (as with the original sdcard). This is not a big problem, but it raises for me the question of the software required mods (for the -X SOM) to run the currrent yocto distrib, example scripts or apps...
In other words, as a -X user, what do I need to know while reading the wiki and forum ?
In advance, thank you for your advices.
Pierre-Yves
Replies (4)
RE: Pre production (-X) modules with newer sd image - Added by Pierre-Yves BRETECHER over 10 years ago
Well, the orange LED switches OFF because with this new version of the SD card, the FPGA is loaded with a firmware at u-boot time. OK
I still have open questions, among them :
- I'm unable to recreate the dtb file I can find on the v1B SD card : following the Yocto build procedure, the rootfs tarball does not include the dtb file (nor the uimage needed to boot). I can't find it in the rest of the filesystem. I can get a dtb file "quiet" identical using the "Building the kernel outside of Yocto" procedure (2 bytes actually differs...)
- Using the procedure for yocto leads to two different tarballs (core-image-basic and modules) + the linux image (zimage format but uboot awaits for uimage)
What am I missing ?
In advance, thank you.
PY
PS :
With the v1B SD card, Linux debug through ssh /Eclipse misses openssh-sftp-server. I could manage to re-add it in yocto and transfer the usr/lib/openssh folder over the SD card.
RE: Pre production (-X) modules with newer sd image - Added by Nigel Doe over 10 years ago
I am currently working through the kit and having a similar experience. The following seems to work for me in regard to your yocto question.
Add the files from the modules image to the core image - same directory (lib/modules/3.12.0-xxxxxxxx).
Convert your zimage to uImage and place it in the boot directory along with your .dtb:-
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "My Linux kernel" -d zImage uImage
Good luck.
Nigel.
RE: Pre production (-X) modules with newer sd image - Added by Pierre-Yves BRETECHER over 10 years ago
Thanks a lot for the feedback.
I have noticed that the Yocto wiki has just been updated concerning the uimage format.
For the rootfs tarball, I intended to do what you proposed but I wasn't selfconfindent. Your post helps me !
Kind regards.
PY
RE: Pre production (-X) modules with newer sd image - Added by Daniel Vincelette over 10 years ago
That update to the conf/local.conf should fix the uImage issue. As for the building of the DTB through yocto, we pushed a patch to our git server about a week ago that should of addressed that issue, patch: http://support.criticallink.com/gitweb/?p=linux-socfpga.git;a=commit;h=f7e7f1eaacca01bae437b91b2cbe3b5627543a42. You might need do a bitbake clean to make sure that it will go out and get the latest from the git repo. If its still not working let us know.
Dan