mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* what config setting causes barebox to automount the boot partition?
@ 2012-02-09 11:54 Robert P. J. Day
  2012-02-09 13:02 ` Eric Bénard
  0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2012-02-09 11:54 UTC (permalink / raw)
  To: U-Boot Version 2 (barebox)


  i just noticed with my panda build that the boot partition of the SD
card is automatically mounted under "boot".  i don't remember that
happening with my beagle, and i'm not sure if i messed with the config
settings before building for the panda.

  what is it that generates that mount?  thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: what config setting causes barebox to automount the boot partition?
  2012-02-09 11:54 what config setting causes barebox to automount the boot partition? Robert P. J. Day
@ 2012-02-09 13:02 ` Eric Bénard
  2012-02-09 13:21   ` Robert P. J. Day
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Bénard @ 2012-02-09 13:02 UTC (permalink / raw)
  To: barebox

Le Thu, 9 Feb 2012 06:54:40 -0500 (EST),
"Robert P. J. Day" <rpjday@crashcourse.ca> a écrit :

> 
>   i just noticed with my panda build that the boot partition of the SD
> card is automatically mounted under "boot".  i don't remember that
> happening with my beagle, and i'm not sure if i messed with the config
> settings before building for the panda.
> 
>   what is it that generates that mount?  thanks.
> 
panda/board.c
	mkdir ("/boot", 0666);
	ret = mount(diskdev, "fat", "/boot");
	if (ret) {
		printf("failed to mount %s\n", diskdev);
		return 0;
	}

Eric
-- 
http://eukrea.com/en/news/104-2012

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: what config setting causes barebox to automount the boot partition?
  2012-02-09 13:02 ` Eric Bénard
@ 2012-02-09 13:21   ` Robert P. J. Day
  0 siblings, 0 replies; 3+ messages in thread
From: Robert P. J. Day @ 2012-02-09 13:21 UTC (permalink / raw)
  To: Eric Bénard; +Cc: barebox

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1307 bytes --]

On Thu, 9 Feb 2012, Eric Bénard wrote:

> Le Thu, 9 Feb 2012 06:54:40 -0500 (EST),
> "Robert P. J. Day" <rpjday@crashcourse.ca> a écrit :
>
> >
> >   i just noticed with my panda build that the boot partition of the SD
> > card is automatically mounted under "boot".  i don't remember that
> > happening with my beagle, and i'm not sure if i messed with the config
> > settings before building for the panda.
> >
> >   what is it that generates that mount?  thanks.
> >
> panda/board.c
> 	mkdir ("/boot", 0666);
> 	ret = mount(diskdev, "fat", "/boot");
> 	if (ret) {
> 		printf("failed to mount %s\n", diskdev);
> 		return 0;
> 	}

  oh, my, i can see there's much work to do as the beagle board.c file
does nothing equivalent.  i thought it was just a config setting of
some kind, now i see that there's definitely some coding to be done.
thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-09 13:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-09 11:54 what config setting causes barebox to automount the boot partition? Robert P. J. Day
2012-02-09 13:02 ` Eric Bénard
2012-02-09 13:21   ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox