Search found 13 matches

Go to advanced search

by brendan
Tue Jul 18, 2017 12:53 am
Forum: Yocto
Topic: Boot from SD Card with modified u-boot [ANSWERED]
Replies: 5
Views: 4897

Re: Boot from SD Card with modified u-boot [ANSWERED]

Thank you, that clears things up for me. I have another question, however unsure whether I should start a new thread or not. I am following these instructions: http://variwiki.com/index.php?title=VAR-SOM-MX6_NAND_Flash_Burning#Manual_step-by-step_flashing_to_NAND using the recovery SD card to manual...
by brendan
Mon Jul 17, 2017 7:44 am
Forum: Yocto
Topic: Boot from SD Card with modified u-boot [ANSWERED]
Replies: 5
Views: 4897

Re: Boot from SD Card with modified u-boot [ANSWERED]

Hi Eran, Could you please clarify; when I build my image within Yocto with the sdcard IMAGE_FSTYPE enabled IMAGE_FSTYPES = " tar.bz2 ubi ubifs sdcard" that the output image with the .sdcard still requires the create-yocto-sdcard.sh script to be executed as well? I just assumed that when su...
by brendan
Mon Jul 17, 2017 2:07 am
Forum: Yocto
Topic: Boot from SD Card with modified u-boot [ANSWERED]
Replies: 5
Views: 4897

Boot from SD Card with modified u-boot [ANSWERED]

Hello, I am looking at replicating the VAR SOM MX6 recovery SD card: http://variwiki.com/index.php?title=VAR-SOM-MX6_Yocto_Recovery_SD_card_V70plus I have a Yocto generated image which can be flashed onto the NAND flash which is fully functional. I also have a modified u-boot image which I manually ...
by brendan
Thu Mar 30, 2017 11:14 pm
Forum: Yocto
Topic: Unable to install USB OTG g-serial kernel module
Replies: 6
Views: 7609

Re: Unable to install USB OTG g-serial kernel module

It works for me. Didn't you say you already overcome this issue? I had a similar issue (same error) when trying to load g_serial. It came down to the CDC module requiring to be loaded prior to g_serial being inserted. On its own g_serial and g_mass_storage works (just not concurrently). I am taking...
by brendan
Thu Mar 30, 2017 1:43 am
Forum: Yocto
Topic: Unable to install USB OTG g-serial kernel module
Replies: 6
Views: 7609

Re: Unable to install USB OTG g-serial kernel module

- Compile and install the g_multi module (Use menuconfig or just add CONFIG_USB_G_MULTI=m to the defconfig). - Run: modprobe g_multi file=MASS_STORAGE_DEV I'm getting the same issue when I'm trying to load the eMMC partition as the storage. root@var-som-mx6:~# modprobe g_multi file=/dev/mmcblk0 g_m...
by brendan
Wed Mar 29, 2017 5:38 am
Forum: Yocto
Topic: Unable to install USB OTG g-serial kernel module
Replies: 6
Views: 7609

Re: Unable to install USB OTG g-serial kernel module

It turns out it was a problem on my end that caused that error message above. It was because I didn't supply it with a communication medium (usb_f_acm in this case). The problem I am facing now however (which is related) is the fact that the USB UDC can only support either or; g_serial or g_mass_sto...
by brendan
Fri Mar 24, 2017 12:40 am
Forum: Yocto
Topic: Unable to install USB OTG g-serial kernel module
Replies: 6
Views: 7609

Unable to install USB OTG g-serial kernel module

Using a MX6 VAR SOM Solo board and I am looking to enable USB OTG modules such as USB mass storage and USB serial. The module exists and is apart of the Kernel however not loaded. root@var-som-mx6:~# modinfo g_serial filename: /lib/modules/4.1.15-6QP+gded07fc/kernel/drivers/usb/gadget/legacy/g_seria...
by brendan
Wed Mar 01, 2017 11:07 pm
Forum: Yocto
Topic: Initialise eMMC partitions prior to first boot in Yocto [ANSWERED]
Replies: 9
Views: 6885

Re: Initialise eMMC partitions prior to first boot in Yocto

So you are booting from an SD card, in order to write the NAND? Yes that is correct. What I'm visualising in my head is the .ubi is modified (or have the right files/scripts) so when the .ubi/.ubifs is loaded that the two partitions on eMMC are just formatted as ext4 and formatted (one being rw and...
by brendan
Tue Feb 28, 2017 10:57 pm
Forum: Yocto
Topic: Initialise eMMC partitions prior to first boot in Yocto [ANSWERED]
Replies: 9
Views: 6885

Re: Initialise eMMC partitions prior to first boot in Yocto

What method are you using to flash the NAND? I flash it by using the SPL and uboot.img stored on the MMC (SD card) and using the commands: $ flash_erase /dev/mtd0 0 0 $ kobs-ng init -x SPL --search_exponent=1 -v $ flash_erase /dev/mtd1 0 0 $ nandwrite -p /dev/mtd1 u-boot.img from http://www.variwik...
by brendan
Tue Feb 28, 2017 6:51 am
Forum: Yocto
Topic: Initialise eMMC partitions prior to first boot in Yocto [ANSWERED]
Replies: 9
Views: 6885

Re: Initialise eMMC partitions prior to first boot in Yocto

I didn't realize you wanted to have the rootfs on the NAND flash. You can indeed run your script after the system has booted, and /dev/mmcblk0 is indeed the eMMC, and writing to it will not affect the NAND flash at all. Would there be a way where I can modify the rootfs ubi/ubifs so that the eMMC i...

Go to advanced search