Active Topics

 


Reply
Thread Tools
Posts: 35 | Thanked: 14 times | Joined on Apr 2010 @ Angers, France
#61
Hello I have uboot command questions :

1- is there a command to extend uboot timer ?

2- is there a way to copy files for mmc (µSD) to Nand rootfs ?
(like /media/mmc1/lib/* to /lib/ )

3- is there a command in uboot to put the N900 into fllash mode ?
like a watchdog reset with flash mode parameter (dfu mode)?

BR,

Nerfiaux
 
Posts: 277 | Thanked: 46 times | Joined on Jan 2010
#62
still unsure how to remove uboot (pg 1) ? other than reinstgall kerkenl, what else is needed?
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#63
Originally Posted by lma View Post
Ooh, shiny! Need to find some time to try this out.
Update: it seems to "work" as far as seeing this on both N800 & N810, with two minor drawbacks: keyboard input is not recognised, and when the 30" timeout kicks in the device simply powers off instead of booting the bundled kernel. Any suggestions welcome.

Oh, and just to prevent anyone else from wasting their time unnecessarily: DO NOT use gcc 4.4 for this, it won't even leave the NOLO screen. I'm getting the above with a 4.3 build.
 
Posts: 116 | Thanked: 40 times | Joined on Mar 2010
#64
I've been sucessful in booting another kernel with boot.scr and another uImage.I want to know how to override the hardcoding of rootfs and rootfstype to ubi0 and mmcblk1p1. Here is what I have slepped together so far in boot.cmd for boot.scr generation.
Code:
setenv atags
fatload mmc 1:3 0x80008000 uImage
bootm 0x80008000
setenv bootargs
root=/dev/mmcblk1p1
rootfstype=ext2 ro
boot
exactly like that. Kernel loads then reboots. Any suggestions?
 
Posts: 256 | Thanked: 92 times | Joined on Oct 2010
#65
no atags!
instead:
setenv bootargs root=...


Originally Posted by xopher View Post
I've been sucessful in booting another kernel with boot.scr and another uImage.I want to know how to override the hardcoding of rootfs and rootfstype to ubi0 and mmcblk1p1. Here is what I have slepped together so far in boot.cmd for boot.scr generation.
Code:
setenv atags
fatload mmc 1:3 0x80008000 uImage
bootm 0x80008000
setenv bootargs
root=/dev/mmcblk1p1
rootfstype=ext2 ro
boot
exactly like that. Kernel loads then reboots. Any suggestions?
 

The Following User Says Thank You to lunat For This Useful Post:
Posts: 116 | Thanked: 40 times | Joined on Mar 2010
#66
Are you saying I need to prefix both lines with that?
 
Posts: 256 | Thanked: 92 times | Joined on Oct 2010
#67
Originally Posted by xopher View Post
Are you saying I need to prefix both lines with that?
no i say that atags is what comes from nolo and is the env for maemo. you don't want that but your own.

setenv bootargs

does excactly that. but as you see there are no args behind the bootargs so you have to add whatever you need.

eg.
setenv bootargs root=/dev/mmc1p1

another note a reboot could also occur because of the watchdogs.
 

The Following User Says Thank You to lunat For This Useful Post:
Posts: 116 | Thanked: 40 times | Joined on Mar 2010
#68
Reboot seems to occur be cause the kernel cannot find the modules. I've seen that behvior without uboot. Like a reboot loop.
 
Posts: 256 | Thanked: 92 times | Joined on Oct 2010
#69
Originally Posted by xopher View Post
Reboot seems to occur be cause the kernel cannot find the modules. I've seen that behvior without uboot. Like a reboot loop.
then you need an initrd with the modules or the relevant parts static in the kernel. works just the same.
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#70
I think that bootm boots the kernel, so nothing after that is actually executed.

When you say "Kernel loads then reboots", do you mean that you don't see any kernel messages before it reboots?
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
 

The Following User Says Thank You to Matan For This Useful Post:
Reply

Tags
power kernel, uboot


 
Forum Jump


All times are GMT. The time now is 02:03.