|
Page 13 of 23 |
|
Prev |
3 11 12 13
14 15
|
Next
| Last
Re: u-boot for the RX-51 (N900)
Quote:
My example was for a BYTE datatype, if you use an INT it is normal that it works as you expected because my numbers are too little to generate an overflow during left shift. But please try with correct numbers Code:
printf("%#x %#x\n", 4*1073741824>> 2, 1073741824);Code:
0x0 0x40000000I reapet that C code like n<<VAR>>n (or (2^n)*VAR>>n) is usually used to clear the n most significative bits of VAR (if VAR is unsigned) |
Re: u-boot for the RX-51 (N900)
Quote:
So compiler can optimize (and remove useless operations) only if it is a constant and the fixed value assigned is less then 2^(n-2) alias 1,073,741,824 for an integer costant |
Re: u-boot for the RX-51 (N900)
@Fabry: ok, now I know this, but in U-Boot our number was not very big (so no change)
|
Re: u-boot for the RX-51 (N900)
Now I published new version of U-Boot. It has fixed eMMC support and runtime configurable bootmenu.
Source code is now in branch pali on u-boot-shr: https://gitorious.org/u-boot-shr/u-boot/commits/pali |
Re: u-boot for the RX-51 (N900)
Good job.
Now when this problems:
|
Re: u-boot for the RX-51 (N900)
For compatibility with other HW revisions, see http://talk.maemo.org/showpost.php?p...&postcount=120
Should work on 2101, 2204 and 2104... And power problem. Now we have in u-boot code for twl4030 regulator, so we have tool for power control. Also code for control GPIO and MUX is in u-boot too... |
Re: u-boot for the RX-51 (N900)
So the two problems have been already fixed ?
I have a rev 2101 and I can check eventually only power consumption. |
Re: u-boot for the RX-51 (N900)
Holy ****, Pali! This is better than Multiboot! ;)
I'm going to measure power consumption before/after u-boot when I have time (probably this Saturday). Can we have this by default in power50? |
Re: u-boot for the RX-51 (N900)
I made an attempt with the new kp48 image.
These are the problems found:
|
Re: u-boot for the RX-51 (N900)
@fabry
comparing uboot+kp48 with pr13kernel seems wrong to see power consumption differences. You should use kp48 with and without u-boot to do valid comparison tests. |
| All times are GMT. The time now is 21:57. |
Page 13 of 23 |
|
Prev |
3 11 12 13
14 15
|
Next
| Last
vBulletin® Version 3.8.8