Split kernel, u-boot, file system

Moderators: Oren.R, fradensky

shafi87
Posts: 3
Joined: Fri Sep 18, 2015 1:41 pm

Split kernel, u-boot, file system

Postby shafi87 » Mon Sep 21, 2015 9:06 am

Hey there,

We want to use the module var-som-am33 for our future projects and have been using var-som-om3x till now. Therefore, we have added some own drivers to the kernel and some further extensions to the file system. Now that we want to use the new module, we run into some problems.

1. It should be possible to split the kernel, u-boot and file system meaning, we don't want to use the sdk or bitbake. Is it possible to compile it sepparately? But if so, how can I get your sources of kernel, etc? Because on the ftp-server I only can find the prebuild images? With var-som-om3x it was quite easy to compile the own kernel with ti's kernel and your patch. But what do I have to use now and I can't find a "easy patch"?

2. What is the whole "meta stuff" and what for is it used?

3. On github, there are many different branches used for the kernel and u-boot? Which one is the one which is used in the latest official version and which one will still be maintained?

Best regards,
Silke

shafi87
Posts: 3
Joined: Fri Sep 18, 2015 1:41 pm

Re: Split kernel, u-boot, file system

Postby shafi87 » Tue Sep 22, 2015 2:43 pm

Ok I can build the kernel V3.14.48 and it's running ... anyway I get some error:
PM: bootloader does not support rtc-only! and
wkup_m3 44d00000.wkup_m3: rproc_boot failed

In the following link, it's mentioned, that the proper u-boot should be loaded.
http://processors.wiki.ti.com/index.php/Linux_Core_Power_Management_User's_Guide_(v3.14)
Now, I'm using u-boot-VAR-SOM-AM33-SDK7, which is the version 2013.10. I can see, that you already have a newer version. I've successfully compiled it for varsomam33, but now MLO can't load the u-boot image. All I can see is "U-Boot SPL 2014.07 (Sep 22 2015 - 11:03:37)" ... do you please have any suggestions?

Best regards,
Silke

Oren.R
Posts: 65
Joined: Tue Dec 16, 2014 7:47 pm

Re: Split kernel, u-boot, file system

Postby Oren.R » Wed Sep 23, 2015 5:56 am

Hi
in order to see what branch is required, you can either see our wiki instruction on building uboot and kernel out of tree:
http://variwiki.com/index.php?title=VAR ... ut-of-tree
http://variwiki.com/index.php?title=VAR ... rce_code_2

Second,
you can look at the proper bitbakes of the Yocto:

"
require u-boot-var-som-am33.inc

DESCRIPTION = "u-boot bootloader for var-som-am33 devices"

LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"

PV = "2014"
PR = "+gitr${SRCPV}"

SRC_URI = "git://github.com/varigit/u-boot-VAR-SOM-AM33-SDK7.git;protocol=git;branch=${BRANCH}"

# Corresponds to tag var-som-am33 u-boot
SRCREV = "adf9a1402056ae7cb3b61c3f783a0268ea23435b"

SPL_BINARY = "MLO"
SPL_UART_BINARY = "u-boot-spl.bin"
"

shafi87
Posts: 3
Joined: Fri Sep 18, 2015 1:41 pm

Re: Split kernel, u-boot, file system

Postby shafi87 » Tue Sep 29, 2015 9:08 am

Dear Oren!

Thanks for your advice :-)

BR


Return to “Yocto”

Who is online

Users browsing this forum: No registered users and 2 guests

cron