Hello! I am using the LEC-iMX64-2G-8G-8G-ER processor module (https://www.adlinktech.com/Products/Computer_on_Modules/SMARC/LEC-iMX6) and the LEC BASE R1 debug board. I used to get green colored modules with MCIMX6Q7CVT08AC revision 1.2 processor and I didn't know any problems. But now I started receiving blue-colored modules with MCIMX6Q7CVT08AE processor revision 1.6. And then it started... I will omit the details of my attempts to raise the old firmware on the new processor, so I started to build a new firmware version according to the instruction. That is, on the yocto zeus brunch. I am attaching my build sequence(instructions) below
I also built the bitbake core-image-weston-imx6 image, both built with no errors or warnings, then I burned the .sdcard image to my samsung evo+ 16gb sd flash drive But EVERY time whichever image I burned and started the kernel, it hangs every time, below is the usual log from the Putty I use to connect to the board via usb-com to my pc.
CPU: Freescale i.MX6Q rev1.6 at 792 MHz CPU: Temperature 34 C, calibration data: 0x57b4f969 Reset cause: POR Board: ADLINK LEC-iMX6 I2C: ready DRAM: 2 GiB Flash: MX25L6405D, total 8 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 Env: 8 KiB in 8 MiB MX25L6405D SPI In: serial Out: serial Err: serial PMIC: PFUZE100, device ID 10, revision 21 I2C1: sent init sequence to device 0x20 on ADLINK LEC-Base R1 carrier Net: Phy not found PHY reset timed out FEC [PRIME]
Normal Boot Hit any key to stop autoboot: 0 U-Boot> printenv baudrate=115200 boot=$LOAD && $LOAD $fdtaddr $fdtfile && setenv bootargs $mtdparts $params root=/dev/$BOOTARGS && bootm $loadaddr - $fdtaddr boot_emmc=LOAD='ext2load mmc 0:1'; BOOTARGS='mmcblk0p1 ro'; run boot boot_net=dhcp; LOAD=tftp; BOOTARGS="nfs rw ip=dhcp nfsroot=$rootpath"; run boot boot_rom=LOAD=fsload; BOOTARGS='mtdblock1 ro rootfstype=cramfs,jffs2'; run boot boot_sata=dcache off; sata init; LOAD='ext2load sata 0:1'; BOOTARGS='sda1 ro'; run boot boot_sd=LOAD='ext2load mmc 2:2'; BOOTARGS='mmcblk2p2 ro'; run boot boot_sdmmc=LOAD='ext2load mmc 2:1'; BOOTARGS='mmcblk3p1 ro'; run boot boot_usb=usb start; LOAD='ext2load usb 0:1'; BOOTARGS='sda1 ro'; run boot bootcmd=run boot_sd bootdelay=1 bootfile=/boot/uImage ethact=FEC ethaddr=00:30:64:8b:cd:8e ethprime=FEC fdt_high=0xffffffff fdtaddr=0x18000000 fdtfile=/boot/lec-imx6q.dtb initrd_high=0xffffffff loadaddr=0x12000000 mtdparts=mtdparts=spi3.0:384K(u-boot)ro,-(root) params=rootwait console=ttymxc0,115200 stderr=serial stdin=serial stdout=serial
Environment size: 1062/8188 bytes U-Boot> run boot_sd 8547440 bytes read in 495 ms (16.5 MiB/s) 50437 bytes read in 57 ms (863.3 KiB/s) ## Booting kernel from Legacy Image at 12000000 ... Image Name: Linux-5.4.47-lts-lf-5.4.y+g88b2e Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 8547376 Bytes = 8.2 MiB Load Address: 10008000 Entry Point: 10008000 Verifying Checksum ... OK ## Flattened Device Tree blob at 18000000 Booting using the fdt blob at 0x18000000 Loading Kernel Image ... OK Using Device Tree in place at 18000000, end 1800f504 Switched to LDO bypass mode
After the above, the board hangs, com port becomes unavailable when trying to reconnect via Putty. I also found a pre-built version of LEC-iMX6-2GQ-LEC-BASER1-Yocto-Zeus-sdcard-1v1-20201012 (can't find the link anymore, found it on github), but the same thing happens as in the log above. After the above, the board hangs, com port becomes unavailable when trying to reconnect via Putty. The last thing that bothers me is that I set jumpers 16-19 as at the bottom of the instructions in the picture to boot from SDcard, then when the board starts up, the com port shows a square as if the baud rate is set incorrectly. Anyway, I've been struggling for two weeks now and I have no idea what to do. Please help me. Any questions, clarifications I am ready to give. I have tried two new blue processors but it did not give any result. Praying and hoping for someone's answer!
The last thing that bothers me is that I set jumpers 16-19 as at the bottom of the instructions in the picture to boot from SDcard
so I set all jumpers 16-19 to the down(off) position, I don't know if it's that important, but at least this way I can work with uboot and make my futile attempts to start up. By the way, I started both from microSD slot and through SD adapter, correcting uboot environments so that kernel and system were loaded from the right partition
0
件の賞賛
返信
'
var data = div.getElementsByClassName("video-js");
var script = document.createElement('script');
script.src = "https://players.brightcove.net/" + data_account + "/" + data_palyer + "_default/index.min.js";
for(var i=0;i< data.length;i++){
videodata.push(data[i]);
}
}
}
for(var i=0;i< videodata.length;i++){
document.getElementsByClassName('lia-vid-container')[i].innerHTML = videodata[i].outerHTML;
document.body.appendChild(script);
}
}
catch(e){
}
/* Re compile html */
$compile(rootElement.querySelectorAll('div.lia-message-body-content')[0])($scope);
}
if (code_l.toLowerCase() != newBody.getAttribute("slang").toLowerCase()) {
/* Adding Translation flag */
var tr_obj = $filter('filter')($scope.sourceLangList, function (obj_l) {
return obj_l.code.toLowerCase() === newBody.getAttribute("slang").toLowerCase()
});
if (tr_obj.length > 0) {
tr_text = "このコンテンツはlilicon-trans-textからAI支援ツールを使って翻訳されました。".replace(/lilicon-trans-text/g, tr_obj[0].title);
tr_text +='原文を見る';
try {
if ($scope.wootMessages[$rootScope.profLang] != undefined) {
tr_text = $scope.wootMessages[$rootScope.profLang].replace(/lilicon-trans-text/g, tr_obj[0].title);
tr_text +='原文を見る';
}
} catch (e) {
}
} else {
//tr_text = "This message was translated for your convenience!";
tr_text = "lilicon-trans.your.convenience";
}
try {
if (!document.getElementById("tr-msz-" + value)) {
var tr_para = document.createElement("P");
tr_para.setAttribute("id", "tr-msz-" + value);
tr_para.setAttribute("class", "tr-msz");
tr_para.style.textAlign = 'justify';
var tr_fTag = document.createElement("IMG");
tr_fTag.setAttribute("class", "tFlag");
tr_fTag.setAttribute("alt", "翻訳アイコン");
// tr_fTag.setAttribute("title", "翻訳アイコンの免責事項");
tr_fTag.setAttribute("src", "/html/assets/translate-icon.svg");
tr_para.appendChild(tr_fTag);
var container = document.createElement('span');
container.innerHTML = tr_text;
//var tr_textNode = document.createTextNode(container);
tr_para.appendChild(container);
/* Woot message only for multi source */
if(rootElement.querySelector(".lia-message-body-content").previousElementSibling != null && rootElement.querySelector(".lia-message-body-content").previousElementSibling.getAttributeNames().includes("data-generation-timestamp")){
rootElement.querySelector(".lia-message-body-content").previousElementSibling.remove()
}
if(rootElement.querySelector(".lia-quilt-forum-message")){
rootElement.querySelector(".lia-quilt-forum-message .lia-message-body").insertBefore(tr_para,rootElement.querySelector(".lia-message-body-content"));
} else if(rootElement.querySelector(".lia-message-view-blog-topic-message")) {
rootElement.querySelector(".lia-message-view-blog-topic-message .lia-message-body").insertBefore(tr_para,rootElement.querySelector(".lia-message-body-content"));
} else if(rootElement.querySelector(".lia-quilt-blog-reply-message")){
rootElement.querySelector(".lia-quilt-blog-reply-message .lia-message-body").insertBefore(tr_para,rootElement.querySelector(".lia-message-body-content"));
} else if(rootElement.querySelector(".lia-quilt-tkb-message")){
rootElement.querySelectorAll(".lia-quilt-tkb-message .lia-message-body")[0].insertBefore(tr_para,rootElement.querySelector(".lia-message-body-content"));
} else if(rootElement.querySelector(".lia-quilt-tkb-reply-message")){
rootElement.querySelectorAll(".lia-quilt-tkb-reply-message .lia-message-body")[0].insertBefore(tr_para,rootElement.querySelector(".lia-message-body-content"));
} else if(rootElement.querySelector(".lia-quilt-idea-message")){
rootElement.querySelector(".lia-quilt-idea-message .lia-message-body").insertBefore(tr_para,rootElement.querySelector(".lia-message-body-content"));
} else if(rootElement.querySelector(".lia-quilt-idea-reply-message")){
rootElement.querySelector(".lia-quilt-idea-reply-message .lia-message-body").insertBefore(tr_para,rootElement.querySelector(".lia-message-body-content"));
} else if(rootElement.querySelector('.lia-quilt-occasion-message')){
rootElement.querySelector('.lia-quilt-occasion-message .lia-message-body').insertBefore(tr_para,rootElement.querySelector(".lia-message-body-content"));
}
else {
if (rootElement.querySelectorAll('div.lia-quilt-row-footer').length > 0) {
rootElement.querySelectorAll('div.lia-quilt-row-footer')[0].appendChild(tr_para);
} else {
rootElement.querySelectorAll('div.lia-quilt-column-message-footer')[0].appendChild(tr_para);
}
}
}
} catch (e) {
}
}
} else {
/* Do not display button for same language */
// syncList.remove(value);
var index = $scope.syncList.indexOf(value);
if (index > -1) {
$scope.syncList.splice(index, 1);
}
}
}
}
}
}
/*if(mszList_l.length <= 0){
setTimeout(()=>{
var mszListl = [];
angular.forEach(document.querySelectorAll("[class*='lia-js-data-messageUid']"), function(element) {
var mszId = element.getAttribute("data-lia-message-uid");
if (mszId != null) {
mszListl.push(mszId);
}
});
var mszListid = mszListl;
console.log("mszListl:",mszListl);
},2000)
}else{
var mszListid = mszList_l;
}*/
console.log("mszList_l:",mszList_l.length);
angular.forEach(mszList_l, function (value) {
if (document.querySelectorAll('div.lia-js-data-messageUid-' + value).length > 0) {
var rootElements = document.querySelectorAll('div.lia-js-data-messageUid-' + value);
}else if(document.querySelectorAll('.lia-occasion-message-view .lia-component-occasion-message-view').length >0){
var rootElements = document.querySelectorAll('.lia-occasion-message-view .lia-component-occasion-message-view')[0].querySelectorAll('.lia-occasion-description')[0];
}else {
var rootElements = document.querySelectorAll('div.message-uid-' + value);
}
angular.forEach(rootElements, function (rootElement) {
if (value == '1819433' && "ForumTopicPage" == "TkbArticlePage") {
rootElement = document.querySelector('.lia-thread-topic');
}
/* V1.1 Remove from UI */
if (document.getElementById("tr-msz-" + value)) {
document.getElementById("tr-msz-" + value).remove();
}
if (document.getElementById("tr-sync-" + value)) {
document.getElementById("tr-sync-" + value).remove();
}
/* XPath expression for subject and Body */
var lingoRBExp = "//lingo-body[@id = "+"'lingo-body-"+value+"'"+"]";
lingoRSExp = "//lingo-sub[@id = "+"'lingo-sub-"+value+"'"+"]";
/* Get translated subject of the message */
lingoRSXML = doc.evaluate(lingoRSExp, doc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
for(var i=0;i 0){
angular.forEach(document.querySelectorAll(".PageTitle"), function(subEle) {
subEle.textContent = sub_L;
});
}
}
}
// Label translation
try{
var labelEle = document.querySelector("#labelsForMessage");
if(!labelEle){
labelEle = document.querySelector(".LabelsList");
}
if(labelEle) {
var listContains = labelEle.querySelector('.label');
if (listContains) {
/* Commenting this code as bussiness want to point search with source language label */
// var tagHLink = labelEle.querySelectorAll(".label")[0].querySelector(".label-link").href.split("label-name")[0];
var lingoLabelExp = "//lingo-label/text()";
trLabels = [];
trLabelsHtml = "";
/* Get translated labels of the message */
lingoLXML = doc.evaluate(lingoLabelExp, doc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
var labelsLength = document.querySelector(".LabelsList").querySelectorAll(".label").length;
var labelSnapshotLength = lingoLXML.snapshotLength;
if (labelsLength == labelSnapshotLength){
for (var k = 0; k < lingoLXML.snapshotLength; k++) {
//trLabels.push(lingoLXML.snapshotItem(i).textContent);
if (k != 0) {
//trLabelsHtml = trLabelsHtml + '