Re: Loading kernel issues

2016-10-18 Thread Juergen Borleis
Hi Javier, On Sunday 16 October 2016 23:06:15 Javier Fileiv wrote: > I've just flashed barebox on my Mini2440. I have 2 questions/issues now > > 1) When trying to load the kernel from TFTP, everything is ok but when > it's trying to mount the rootfs something is not working, even though > I set

[PATCH] ARM: bootm: Fix free_mem calculation when initrd is given

2016-10-18 Thread Sascha Hauer
When a initrd is given we calculate the next free memory position as: free_mem = PAGE_ALIGN(initrd_end); This is wrong when initrd_end exactly falls on a page boundary. In this case PAGE_ALIGN() does nothing and free_mem becomes initrd_end and the following bootm_load_devicetree() and thus booting

Re: Loading kernel issues

2016-10-18 Thread Javier Fileiv
Yes I did it and the values are ok. When I get home I'll send my config file! Thanks 2016-10-18 10:17 GMT+02:00 Juergen Borleis : > Hi Javier, > > On Sunday 16 October 2016 23:06:15 Javier Fileiv wrote: >> I've just flashed barebox on my Mini2440. I have 2 questions/issues

[PATCH] arm: Baltos: setup MPU PLL to run at 600MHz

2016-10-18 Thread yegorslists
From: Yegor Yefremov Signed-off-by: Yegor Yefremov --- arch/arm/boards/vscom-baltos/lowlevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boards/vscom-baltos/lowlevel.c

Re: Loading kernel issues

2016-10-18 Thread Javier Fileiv
Hi all! Trying to autoboot from nand, I set my /env/config file like that (and after that a "saveenv"). Although it doesn't work automaGically! :) What do you think about this guys? Thanks a lot! (I'm gonna try the nfs mounting right now!) mini2440:/ cat env/config #!/bin/sh machine=mini2440

Re: [PATCH 3/4] partitions/dos: add function to write partition table

2016-10-18 Thread Sascha Hauer
Hi Michael, On Mon, Oct 17, 2016 at 03:29:22PM +0200, Michael Grzeschik wrote: > The function can be used to write an partition layout to the block device > based on its cdev layout. Only cdevs with flag DEVFS_PARTITION_IN_PT set > get written. The function also adds an static offset of 0x20

[PATCH] pinctrl: mvebu: sync mpp names to Linux 4.9-rc1

2016-10-18 Thread Uwe Kleine-König
Linux changed several mpp names in commits: a526973e0291 (pinctrl: mvebu: Fix mapping of pin 63 (gpo -> gpio)) 438881dfddb9 (pinctrl: mvebu: armada-370: fix spi0 pin description) bc99357f3690 (pinctrl: mvebu: armada-xp: remove non-existing NAND pins) 80b3d04feab5

Re: [PATCH 4/4] mci: add MBR write and read function to block devices

2016-10-18 Thread Sascha Hauer
On Mon, Oct 17, 2016 at 03:29:23PM +0200, Michael Grzeschik wrote: > With this patch it is possible to write an mbr partition table to the > mci block device. By setting the device property "dos_partitions" of the > mmc device node, it is possible to write back the new partition layout > in the