Re: [oselas] SPI or I2C or bare GPIO, on mini2440 BSP

2012-02-09 Thread Guillermo Rodriguez
El 09/02/2012 7:24, Icarus Alive escribió: Would like mini2440 (as master) to communicate with a single uC (as slave). I do not foresee any need for this communication to extend to multiple slave devices in future. The communication is actually bursty and fairly low speed, say 30-40

Re: [oselas] SPI or I2C or bare GPIO, on mini2440 BSP

2012-02-09 Thread Guillermo Rodriguez
El 09/02/2012 7:24, Icarus Alive escribió: Would like mini2440 (as master) to communicate with a single uC (as slave). I do not foresee any need for this communication to extend to multiple slave devices in future. The communication is actually bursty and fairly low speed, say 30-40

[oselas] Boot mini2440 with console=null

2014-05-02 Thread Guillermo Rodriguez
Hello all, I need to use serial port 0 for my application and thus I wanted to avoid the kernel from using ttySAC0 as a console. In barebox I edited /env/config and replaced console=ttySAC0,115200 with console=null in bootargs. The system starts to boot OK but at some point it seems to stop.

Re: [oselas] mini2440 pwm beeper works unreliably

2014-06-12 Thread Guillermo Rodriguez
I am aware this thread is a bit old but I have a patch ready that fixes this behaviour. Is anyone interested? Guillermo Rodriguez El 19/12/2013 15:29, Jürgen Beisert escribió: Hi Pawel, On Thursday 19 December 2013 12:23:36 Pawel Suchanecki wrote: [...] but also occasionally (1 per

Re: [oselas] mini2440 pwm beeper works unreliably

2014-06-12 Thread Guillermo Rodriguez
I will prepare a patch and send it to the list. Will also check if it is applicable to mainline as well. Thank you, Guillermo El 12/06/2014 15:52, Juergen Borleis escribió: Hi Guillermo, On Thursday 12 June 2014 15:47:53 Guillermo Rodriguez wrote: I am aware this thread is a bit old but I

[oselas] Mini2440: Use dhcp in barebox but not in kernel

2014-06-12 Thread Guillermo Rodriguez
? Thank you, Guillermo Rodriguez

Re: [oselas] mini2440 pwm beeper works unreliably

2014-06-13 Thread Guillermo Rodriguez
Hi Tomasz, El 12/06/2014 21:08, Tomasz Figa escribió: Hi Guillermo, On 12.06.2014 16:01, Guillermo Rodriguez wrote: I will prepare a patch and send it to the list. Will also check if it is applicable to mainline as well. Thank you, Guillermo El 12/06/2014 15:52, Juergen Borleis

[oselas] [PATCH] pmw-samsung: Ensure known output level when idle

2014-06-13 Thread Guillermo Rodriguez
but should be applicable up to 3.11. A similar fix was implemented in mainline in 3.12. Signed-off-by: Guillermo Rodriguez guille.rodrig...@gmail.com --- Index: linux-3.7/drivers/pwm/pwm-samsung.c === --- linux-3.7.orig/drivers/pwm/pwm

[oselas] [PATCH 2/3] Make it possible to disable autoboot from board config script.

2014-09-01 Thread Guillermo Rodriguez
From: grodriguez guille.rodrig...@gmail.com --- .../Add_disable_autoboot_option.diff | 21 .../patches/barebox-2011.05.0/series |3 ++ 2 files changed, 24 insertions(+), 0 deletions(-) create mode 100644

[oselas] [PATCH 0/3] Support for NOR flash in the mini2440

2014-09-01 Thread Guillermo Rodriguez
This patch series add supports for the NOR flash in the mini2440 board. barebox can already run from NOR flash without any modifications. Patch 1 registers a CFI device and defines a single barebox partition to make it possible to update the NOR flash from barebox. It is important to note that

[oselas] [PATCH 3/3] Disable autoboot when booting from NOR. The bootloader in NOR should only be used as an emergency bootloader, not for normal operation or development.

2014-09-01 Thread Guillermo Rodriguez
From: grodriguez guille.rodrig...@gmail.com --- .../barebox-128m-env/config|3 +++ .../barebox-64m-env/config |3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git

[oselas] ext2 max image size for 64M boards

2012-01-25 Thread Guillermo Rodriguez Garcia
for the rootfs, it would be a good idea to increase this value. Note that the platformconfig-NAND-128M file does not set this variable at all. Thanks and best regards, Guillermo Rodriguez Garcia guille.rodrig...@gmail.com

Re: [oselas] ext2 max image size for 64M boards

2012-01-25 Thread Guillermo Rodriguez Garcia
Hi Juergen, Thanks for the ultra-fast response. 2012/1/25 Juergen Beisert j...@pengutronix.de: Hi Guillermo, Guillermo Rodriguez Garcia wrote: In the mini2440 BSP (2011.12.0), the file configs/platform-friendlyarm-mini2440/platformconfig-NAND-64M sets the max ext2 image size

Re: [oselas] Boot mini2440 with console=null

2014-05-05 Thread Guillermo Rodriguez Garcia
Hi Juergen, Thank you for your answer. 2014-05-05 10:01 GMT+02:00 Juergen Borleis j...@pengutronix.de: Hi Guillermo, On Friday 02 May 2014 09:52:14 Guillermo Rodriguez wrote: I need to use serial port 0 for my application and thus I wanted to avoid the kernel from using ttySAC0

Re: [oselas] Boot mini2440 with console=null

2014-05-05 Thread Guillermo Rodriguez Garcia
Hi Juergen, 2014-05-05 15:04 GMT+02:00 Juergen Borleis j...@pengutronix.de: And did you also disable the login? I just found out that the problem is fixed by modifying the standard /etc/inittab file in ${PTXDIST}/projectroot. I just removed the console id from the sysinit and

[oselas] Proper way to modify a rules file

2014-05-05 Thread Guillermo Rodriguez Garcia
Hello all, What is the proper / recommended way to modify existing ptx rule/make files? Example: I would like to modify rootfs.in/rootfs.make to add an option that installs /etc/hosts as a link to /run/hosts (a similar option already exists for /etc/resolv.conf). Thank you, Guillermo Rodriguez

[oselas] [mini2440] Parity errors not counted in s3c2440 serial driver

2014-05-07 Thread Guillermo Rodriguez Garcia
(parity, framing, overrun) are detected, but that only two are traced in serial_icounter_struct. Can anyone shed some light? Thank you, Guillermo Rodriguez Garcia guille.rodrig...@gmail.com

Re: [oselas] mini2440: Error passing noatime option in bootargs

2014-05-08 Thread Guillermo Rodriguez Garcia
Hi Juergen, Thank you for the feedback. 2014-05-08 10:12 GMT+02:00 Juergen Borleis j...@pengutronix.de: Hi Guillermo, On Wednesday 07 May 2014 19:22:33 Guillermo Rodriguez Garcia wrote: I wanted to use the noatime option for the jffs2 filesystem that is used in the default ptxdist

Re: [oselas] [ptxdist] ptxdist on a x86 target, grub problem ?

2014-05-12 Thread Guillermo Rodriguez Garcia
menu.lst.i586 file? Except for the issue described above it seems to be almost identical to the generic menu.lst file in ptxdist. Best regards, Guillermo Rodriguez 2014-05-12 17:57 GMT+02:00 Stella GZ gzest...@gmail.com: Hello, I have tried to specify root=UUID=uuid_value but that didn't work either

Re: [oselas] [ptxdist] ptxdist on a x86 target, grub problem ?

2014-05-13 Thread Guillermo Rodriguez Garcia
Hi Juergen, 2014-05-13 9:49 GMT+02:00 Juergen Borleis j...@pengutronix.de: Hi Guillermo, On Monday 12 May 2014 20:14:08 Guillermo Rodriguez Garcia wrote: [...] Ptxdist maintainers: Is there a reason for the separate menu.lst.i586 file? Except for the issue described above it seems

[oselas] [PATCH] Fix /etc/fstab for platform-mini2440

2014-05-29 Thread Guillermo Rodriguez Garcia
Signed-off-by: Guillermo Rodriguez guille.rodrig...@gmail.com --- diff --git a/configs/platform-friendlyarm-mini2440/projectroot/etc/fstab b/configs/platform-friendlyarm-mini2440/projectroot/etc/fstab index 22d061a..15464f4 100644 --- a/configs/platform-friendlyarm-mini2440/projectroot/etc/fstab

Re: [oselas] [PATCH] Fix /etc/fstab for platform-mini2440

2014-05-29 Thread Guillermo Rodriguez Garcia
Hi Juergen, 2014-05-29 20:06 GMT+02:00 Juergen Borleis j...@pengutronix.de: Hi Guillermo, On Thursday 29 May 2014 19:28:10 Guillermo Rodriguez Garcia wrote: The mini2440 BSP ships with a platform-specific /etc/fstab file which does not mount a tmpfs filesystem in /run. Options that expect

Re: [oselas] [PATCH] Fix /etc/fstab for platform-mini2440

2014-06-02 Thread Guillermo Rodriguez Garcia
Hi Juergen, El lunes, 2 de junio de 2014, Juergen Borleis j...@pengutronix.de escribió: Hi Guillermo, On Thursday 29 May 2014 19:28:10 Guillermo Rodriguez Garcia wrote: The mini2440 BSP ships with a platform-specific /etc/fstab file which does not mount a tmpfs filesystem in /run. Options

Re: [oselas] Mini2440: Use dhcp in barebox but not in kernel

2014-06-16 Thread Guillermo Rodriguez Garcia
Hi Juergen, 2014-06-13 8:35 GMT+02:00 Juergen Borleis j...@pengutronix.de: Hi Guillermo, On Thursday 12 June 2014 16:31:35 Guillermo Rodriguez wrote: Currently the default env/config file used in barebox for the mini2440 has the following: # use 'dhcp' to do dhcp in barebox and in kernel

[oselas] mini2440: NOR flash access from barebox

2014-08-26 Thread Guillermo Rodriguez Garcia
dive further into the code, is this expected? Note: I am using OSELAS.BSP-Pengutronix-Mini2440-2013.10.0 Thank you, -- Guillermo Rodriguez Garcia guille.rodrig...@gmail.com

Re: [oselas] mini2440: NOR flash access from barebox

2014-08-29 Thread Guillermo Rodriguez Garcia
Hi Juergen, 2014-08-29 10:18 GMT+02:00 Juergen Borleis j...@pengutronix.de: Hi Guillermo, On Tuesday 26 August 2014 17:25:41 Guillermo Rodriguez Garcia wrote: I am playing with the NOR flash of the mini2440 from barebox and noticed that the protection status seems to be ignored

Re: [oselas] mini2440: NOR flash access from barebox

2014-08-29 Thread Guillermo Rodriguez Garcia
2014-08-29 11:51 GMT+02:00 Juergen Borleis j...@pengutronix.de: Hi Guillermo, On Friday 29 August 2014 11:42:50 Guillermo Rodriguez Garcia wrote: 2014-08-29 10:18 GMT+02:00 Juergen Borleis j...@pengutronix.de: Hi Guillermo, On Tuesday 26 August 2014 17:25:41 Guillermo Rodriguez Garcia

Re: [oselas] mini2440: NOR flash access from barebox

2014-09-01 Thread Guillermo Rodriguez Garcia
only be used as a fall-back in case the NAND flash is corrupted, by default the init script will not autoboot Linux when the Mini2440 boots from NOR. Instead it will drop you directly at the Barebox shell. === Let me know if this is helpful. Guillermo 2014-08-29 12:26 GMT+02:00 Guillermo Rodriguez

Re: [oselas] mini2440: NOR flash access from barebox

2014-09-01 Thread Guillermo Rodriguez Garcia
Minor correction: 2014-09-01 10:23 GMT+02:00 Guillermo Rodriguez Garcia guille.rodrig...@gmail.com: Hi Juergen, I have just send a patchset to the list. My suggestion for the manual (perhaps at the end of section 5, Bring in the Bootloader Barebox), could be something similar

[oselas] [mini2440] Replacing udev with mdev

2014-09-01 Thread Guillermo Rodriguez Garcia
the init scripts, and I don't see where these are defined. There is one place at the /etc/init.d/udev script where these links are created manually, but this code is not run if devtmpfs is mounted (which is the case here) Can anyone help? Thank you, Guillermo Rodriguez Garcia guille.rodrig

Re: [oselas] [mini2440] Replacing udev with mdev

2014-09-01 Thread Guillermo Rodriguez Garcia
I will answer my own question: These nodes are created by udev but not defined in any rule files. They are hardcoded into the udev sources. Guillermo Rodriguez Garcia guille.rodrig...@gmail.com 2014-09-01 13:11 GMT+02:00 Guillermo Rodriguez Garcia guille.rodrig...@gmail.com: Hello all, I am

Re: [oselas] [mini2440] Replacing udev with mdev

2014-09-01 Thread Guillermo Rodriguez Garcia
Hi Juergen, 2014-09-01 15:20 GMT+02:00 Juergen Borleis j...@pengutronix.de: Hi Guillermo, On Monday 01 September 2014 13:11:48 Guillermo Rodriguez Garcia wrote: I am playing around to see if I can replace udev with mdev for the mini2440. Most of it is working but as soon as I remove udev

[oselas] [mini2440] barebox nand flash erase and jffs2 cleanmarkers

2015-01-20 Thread Guillermo Rodriguez Garcia
. Thank you, Guillermo Rodriguez Garcia guille.rodrig...@gmail.com

Re: [oselas] [ANNOUNCE] Mini2440: 2015.01.0 Release of the Free Board Support Package is now available

2015-01-31 Thread Guillermo Rodriguez Garcia
...@kreuzholzen.de escribió: Hi Guillermo, Guillermo Rodriguez Garcia wrote: Good news! I have two questions. I know kernels 3.10 and 3.11 were broken for the s3c2440 but is there a reason why you dropped support for kernels between 3.4 and 3.10? The reason I am asking is that I am myself using 3.7

Re: [oselas] [ANNOUNCE] Mini2440: 2015.01.0 Release of the Free Board Support Package is now available

2015-01-31 Thread Guillermo Rodriguez Garcia
be found here: http://www.oselas.org/oselas/bsp/pengutronix/index_en.html Comments and contributions are welcome. Enjoy! Your Pengutronix Development Team -- Guillermo Rodriguez Garcia guille.rodrig...@gmail.com

[oselas] [mini2440] supervivi sets wrong RAM size for s3c2440

2015-02-24 Thread Guillermo Rodriguez Garcia
=3e19d858760a138cb8cba92a2395036bd70937e3#l272 -- Guillermo Rodriguez Garcia guille.rodrig...@gmail.com

Re: [oselas] [mini2440] supervivi sets wrong RAM size for s3c2440

2015-02-26 Thread Guillermo Rodriguez Garcia
Hi Juergen, 2015-02-26 11:42 GMT+01:00 Guillermo Rodriguez Garcia guille.rodrig...@gmail.com: 2015-02-26 10:53 GMT+01:00 Juergen Borleis j...@pengutronix.de: Hi Guillermo, On Thursday 26 February 2015 09:32:56 Guillermo Rodriguez Garcia wrote: 2015-02-25 23:10 GMT+01:00 Juergen Borleis juer

Re: [oselas] [mini2440] supervivi sets wrong RAM size for s3c2440

2015-02-26 Thread Guillermo Rodriguez Garcia
2015-02-26 10:53 GMT+01:00 Juergen Borleis j...@pengutronix.de: Hi Guillermo, On Thursday 26 February 2015 09:32:56 Guillermo Rodriguez Garcia wrote: 2015-02-25 23:10 GMT+01:00 Juergen Borleis juer...@kreuzholzen.de: Guillermo Rodriguez Garcia wrote: [...] Question: Does it make sense

Re: [oselas] [mini2440] supervivi sets wrong RAM size for s3c2440

2015-02-26 Thread Guillermo Rodriguez Garcia
Hi Juergen, Thanks for your answer: 2015-02-25 23:10 GMT+01:00 Juergen Borleis juer...@kreuzholzen.de: Guillermo Rodriguez Garcia wrote: [...] Question: Does it make sense to patch the mini2440 initialisation code in [1] so that the SDRAM controller is always initialised, even if running