maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   u-boot for the RX-51 (N900) (https://talk.maemo.org/showthread.php?t=62146)

Radicalz38 2011-11-17 11:40

Re: u-boot for the RX-51 (N900)
 
Yes I know what mmc0 and mmc1 is what I am asking is what does this whole line do? root=/dev/mmcblk0p2 not just part of it. I mean is what will it do if I put it on boot.scr and use with uboot

I got a feeling that it would map /dev/mmcblk0p2 as as root partition for the booted OS but I'm not sure that's why I asked.

pali 2011-11-17 11:43

Re: u-boot for the RX-51 (N900)
 
Quote:

Originally Posted by pali (Post 1124915)
root command specify rootfs file system

it will try to boot system from device /dev/mmcblk0p2 (mmc0, partition 2).

Fabry 2011-11-17 11:43

Re: u-boot for the RX-51 (N900)
 
It means "Mount /dev/mmcblk0p2 as root filesystem and boot from it"

Fabry 2011-11-17 11:48

Re: u-boot for the RX-51 (N900)
 
Quote:

Originally Posted by pali (Post 1124220)
it is problem with u-boot itself, not rx51 code. Somebody must find working version and then find commit which brings power consumption problem. can sombody do it? (al least find last working build of u-boot for rx51?)

Or try less RX51 patches.
For example a lastest version without patch for eMMC support has the high consumption problem ?
If not it is the hw registry manipulation (to activate eMMC) which generates the problem

Radicalz38 2011-11-17 11:50

Re: u-boot for the RX-51 (N900)
 
Got it thanks! Just as I thought. What made me confused about that command is it is used for Kubuntu mobile. The whole image is put on sd card which is an external card and should be /dev/mmcblk1p2 so I wondered why is it pointing on /dev/mmcblk0p2 yet it boots perfectly.

Radicalz38 2011-11-17 17:27

Re: u-boot for the RX-51 (N900)
 
Quote:

Originally Posted by pali (Post 1124220)
it is problem with u-boot itself, not rx51 code. Somebody must find working version and then find commit which brings power consumption problem. can sombody do it? (al least find last working build of u-boot for rx51?)

Pali I'm not that accurately sure but it was your first u-boot version that worked for HW 2204 that is stable I think. next update I did was already on kp49 with new uboot and power consumption issue arised. Never documented it since I thought it was some devel apps I installed. But after reflashed never tried reinstalling it again until now

Radicalz38 2011-11-19 02:55

Re: u-boot for the RX-51 (N900)
 
Hi Pali! A friend of mine did lookup on the power consumption issue from her n900, tested every commit from git and said that uboot power consumption was ok before this commit.

https://gitorious.org/u-boot-shr/u-b...21b2046d4e000f

pali 2011-11-19 12:11

Re: u-boot for the RX-51 (N900)
 
Quote:

Originally Posted by Radicalz38 (Post 1125768)
Hi Pali! A friend of mine did lookup on the power consumption issue from her n900, tested every commit from git and said that uboot power consumption was ok before this commit.

https://gitorious.org/u-boot-shr/u-b...21b2046d4e000f

Are you sure if it is this commit?
Code:

include/twl4030.h: Add power bus message definitions
* Code from linux kernel: include/linux/i2c/twl.h

This commit only add some #define to headers file which are never use in this (and before this) commit.

Fabry 2011-11-19 15:31

Re: u-boot for the RX-51 (N900)
 
A supposition :

This header adds value definitions (#define) used by other u-boot sources.

If the #define are missing the source code does nothing (or uses default values) but if the #define are present then they are used during Hw config and some of these #define generate misconfigured Hw

pali 2011-11-19 15:36

Re: u-boot for the RX-51 (N900)
 
Quote:

Originally Posted by Fabry (Post 1125945)
A supposition :

This header adds value definitions (#define) used by other u-boot sources.

If the #define are missing the source code does nothing (or uses default values) but if the #define are present then they are used during Hw config and some of these #define generate misconfigured Hw

I know twl4030 part of u-boot source code. And this new definitions are not used in u-boot. I added it because in next commits I need use twl4030 regulator for enable eMMC...


All times are GMT. The time now is 20:57.

vBulletin® Version 3.8.8