[SOLVED] (i.MX233) OLinuXino uEnv.txt kernel command line

This forum is for topics dealing with problems with software specifically in the ARMv5 repo.

[SOLVED] (i.MX233) OLinuXino uEnv.txt kernel command line

Postby atlaware » Mon Aug 04, 2014 12:18 pm

Hi,
on a (i.MX233) OLinuXino-mini-wifi, I need to add "coherent_pool=1M" to kernel command line.
I have added it to /boot/uEnv.txt, but this is not applied...
$this->bbcode_second_pass_code('', '
[root@cam720 boot]# dmesg|grep "command line"
[ 0.000000] Kernel command line: console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait fixrtc video=
')
I need to execute some command to store command line from uEnv.txt to p1 partition?
Witch?

Thank you!
Atla
Last edited by atlaware on Tue Aug 05, 2014 4:38 pm, edited 1 time in total.
atlaware
 
Posts: 8
Joined: Fri Nov 05, 2010 9:37 am

Re: (i.MX233) OLinuXino uEnv.txt command line not applied...

Postby WarheadsSE » Mon Aug 04, 2014 1:30 pm

Did you have p1 mounted to /boot when you edited this file?

Also: cat /proc/cmdline
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: (i.MX233) OLinuXino uEnv.txt command line not applied...

Postby atlaware » Mon Aug 04, 2014 1:50 pm

$this->bbcode_second_pass_quote('', 'D')id you have p1 mounted to /boot when you edited this file?


No... isn't mounted, but how can mount it (OnTrack DM6 Aux3 partition)? classic mount /dev/mmcblk0p1 /boot doesn't work.

fdisk -l output:
$this->bbcode_second_pass_code('', '
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 2048 67583 32768 53 OnTrack DM6 Aux3
/dev/mmcblk0p2 67584 3686399 1809408 83 Linux
')

I don't know if I need to store to p1, was a my "supposition".

$this->bbcode_second_pass_code('', '
[root@cam720 boot]# cat /proc/cmdline
console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait fixrtc video=
')

Some suggestion?

Thank you!
atlaware
 
Posts: 8
Joined: Fri Nov 05, 2010 9:37 am

Re: (i.MX233) OLinuXino uEnv.txt command line not applied...

Postby WarheadsSE » Mon Aug 04, 2014 2:04 pm

I will have to review the image I have when I am at home.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

[SOLVED] Re: (i.MX233) OLinuXino uEnv.txt kernel command lin

Postby atlaware » Tue Aug 05, 2014 4:38 pm

Hi,
I have solved my problem: was my fault...
I thinking that I need to simply add my parameter (coherent_pool=8M) to uEnv.txt in a new line: this is wrong.
The correct way is to add the parameter to "optargs=" line, in uEnv.txt

Now my working uEnv.txt:
$this->bbcode_second_pass_code('', '
[root@cam720 system]# cat /boot/uEnv.txt
#These are the default settings for some useful u-boot variables:
#fdt_file=/boot/dtbs/imx23-olinuxino.dtb
optargs= coherent_pool=8M
#video=
#mmcroot=/dev/mmcblk0p2 rw rootwait fixrtc
')

Thank you for you help WarheadsSE!

Bye
Atla.
atlaware
 
Posts: 8
Joined: Fri Nov 05, 2010 9:37 am


Return to ARMv5

Who is online

Users browsing this forum: No registered users and 3 guests