Activity
From 08/13/2014 to 09/11/2014
09/11/2014
- MW 06:34 PM Software Development: RE: U-Boot with large uImage containing initramfs
- Hi Nicholas,
A little confused. Your build_ramdisk_image.sh appears to be building a 1 GB image for loading an SD card, which contains including multiple partitions, etc.
You want to create a raw ext2 or ext3 image only, not a ful...
09/10/2014
- NC 04:03 PM Software Development: RE: U-Boot with large uImage containing initramfs
- Michael Williamson wrote:
> We've run into this issue before on a different ARM based processor.
> ...
Mike,
I still have had no luck with the initramfs, Just can't get it to go past that Starting Kernel message. I've tried several ...
09/03/2014
- I am having problems DE-allocating DMA memory space. Allocation works correctly with dma_alloc_coherent. I get the following
out of dmesg:
[ 4.345091] Virt Address : c095c000 Phys Address: 4095c000 Handle: 3e8c0000
This is after...
08/29/2014
- JL 12:23 PM Software Development: RE: Compiling Memory Size into U-boot
- I think I see my error.
The ubootenv.bin file doesn't go into any of the three partitions generated by that automated script.
If you wish to just update the ubootenv.bin file this is the command you need:
dd if=ubootenv.bin of=/d... - JL 10:09 AM Software Development: RE: Compiling Memory Size into U-boot
- From that script to combine the uBoot image with the rootFS as well as the uBoot blob, I gleaned that
to write the uBoot blob only is to do execute this command:
dd if=ubootenv.bin of=/dev/sdb2 bs-512 seek=1
However when I inser...
08/28/2014
- DV 05:20 PM Software Development: RE: Compiling Memory Size into U-boot
- We actually create the environment using *mkenvimage*, which takes a text file and then store this on the SD card, which uboot reads on startup. Here is the instructions on how to do that: https://support.criticallink.com/redmine/project...
- I read this link:
https://support.criticallink.com/redmine/projects/mityarm-5cs/wiki/ARM_Software_FAQs
And I know how to manually set the memory size for my system during the uBoot process. However,
I would like to set the memory ... - NC 04:20 PM Software Development: RE: U-Boot with large uImage containing initramfs
- I have attempted the following:
1.) Create .tar.gz rootfs with yocto
2.) Create ext3 ramdisk image of rootfs
3.) Create uboot image with mkimage
Now my uImage is ~3.3MB and my ramdisk is ~45MB. When I try to boot with the followi... - NC 12:42 PM Software Development: RE: U-Boot with large uImage containing initramfs
- Michael Williamson wrote:
> We've run into this issue before on a different ARM based processor.
> ...
Mike,
Thank you for the fast reply. I have tried your first suggestion. As it seems your vmlinux.lds.S file is different than min... - MW 07:55 AM Software Development: RE: U-Boot with large uImage containing initramfs
- We've run into this issue before on a different ARM based processor.
The problem is the linker for the kernel is putting the initramfs into the init section, because it is assuming that the initramfs is going to go away (that you'll p... - JL 12:37 PM Software Development: RE: Memory Aligned Byte Array
- Mike,
I will definitely need more than a single 4096 byte page. I can
call __get_free_pages() to allocate a continuous chunk of pages
but is there a way of doing so so that the beginning offset is on
a 32K boundary (for example)... - MW 11:42 AM Software Development: RE: Memory Aligned Byte Array
- Any kernel memory allocation is going to be page aligned (4K), it has to be. That's how the linux kernel memory management / page tables work.
You could have your driver allocate a page (do you need more? you can make continuous ph... - JL 11:19 AM Software Development: RE: Memory Aligned Byte Array
- Mike,
I'm writing a device driver to handle this DMA setup. I want the kernel to give me a chunk of physical memory aligned so that the least significant T bits (I'm not so sure of the exact size I want)
are zero. The reason for the... - MW 07:09 AM Software Development: RE: Memory Aligned Byte Array
- Not entirely sure what you are up to here.
Is your linux application running in user space? If it is, you may need to deal with the fact that you are working with virtual memory space that's chunked up into 4K page sizes if you are c...
08/27/2014
- Hi,
I am trying to boot from a uImage containing an initramfs with the mitySOM-5csx devkit. When I use the core-image-minimal-initramfs recipe, I boot up OK for the most part. The boot hangs saying "Waiting for removable media...". If...
08/26/2014
- Posted on behalf of a customer:
I have a byte array in my Linux application into which I want my DMA firmware to write. I need the byte array to be memory aligned
to a certain offset. From what the compiler is telling me, the most I...
08/15/2014
- AB 01:44 PM Software Development: RE: How to add aditional HPS GPIO's
- In the case described of wanting to add GPIO's to drive/control an LED (output from the HPS) you do not need to alter the DTS file. The DTS additions were for Switch based GPIO's which are a special case in which their is a Linux driver ...
08/14/2014
- Posting on behalf of a customer:
On the MitySom .dts file, you specify some GPIOS like this: - AB 10:49 AM Software Development: RE: PCI-e Device Driver - munmap related error
- Reporting that the customer solved their problem:
I've solved the problem.
Thread A which was signaling Thread B to terminate was doing a pthread_join after doing so.
I commented out the pthread_join and it worked perfectly fine...
08/13/2014
- PB 04:21 PM Software Development: RE: Standard USB peripheral connection on MitySOM eval Board
- Hi Mike,
Happy to hear that a procedure is needed because I tried many things to make it work (I noticed that in the 09/13 delivered image, my USB key was powered on, but not accessible).
I'll wait for your instructions.
Kind rega...