[beagleboard] Workaround to speed boot times for BBB debian image

2016-07-16 Thread Gunjan Gupta
Hi,

I noticed that BBB takes around 1 and half minute to finish the boot 
process because of /etc/init.d/networking service taking too much time to 
execute. I did some modifications into the networking script and the boot 
time reported by systemd got reduced to about 5 secs while the network 
becomes available in less than 15 seconds.

I have made the changes in the start procedure as follows

start)
if init_is_upstart; then
exit 1
fi
process_options
check_ifstate

if [ "$CONFIGURE_INTERFACES" = no ]
then
log_action_msg "Not configuring network interfaces, see 
/etc/default/networking"
exit 0
fi
set -f
exclusions=$(process_exclusions)
log_action_begin_msg "Configuring network interfaces"
if [ -x /sbin/udevadm ]; then
if [ -n "$(ifquery --list --exclude=lo)" ] || [ -n "$(ifquery 
--list --allow=hotplug)" ]; then
udevadm settle || true
fi
fi
# Lets run this if block in background to speed the boot process
( if ifup -a $exclusions $verbose && ifup_hotplug $exclusions 
$verbose
then
log_action_end_msg $?
else
log_action_end_msg $?
fi ) &
;;


I know its a ugly hack but speeds up the process. I know installing some 
other softwares like connman, etc also speeds up the process but I didn't 
wanted to install them. Any other suggestions are welcome.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/5b140d04-d470-489b-be18-1145f42f137f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: debian testing: 2014-09-03 (goodbye vfat release)

2014-10-08 Thread Gunjan Gupta
I am sorry as what I am posting is not entirely related to this thread but 
is a feature request for debian.

I liked the console image as it saves a lot of disc image by removing all 
the GUI softwares. I am running my BBB headless mostly controlling it using 
ssh and by bone portal. For console image, I guess addition of the bone 101 
portal will be good as it is used over the network and is not related to 
lxde.

Could you please add the node.js, bone 101 and cloud9 back to the console 
image?

On Thursday, September 4, 2014 11:54:50 PM UTC+5:30, RobertCNelson wrote:
>
> Howdy! 
>
> I just pushed out another round of images for testing. 
>
> There's really only "one" big change with this image, the sorta change 
> that will re-write every wiki document. 
>
> NO VFAT PARTITION REQUIRED!!! 
>
> Let me repeat that... THE VFAT "boot" PARTITION IS NOT REQUIRED! ;) 
>
> Okay, only the "console" images fully feature this, as the lxde's 
> still export /dev/mmcblk0p1 as vfat for windows users.. ;) 
>
> The magic is this: 
>
> dd if=MLO of=/dev/sdX count=1 seek=1 conv=notrunc bs=128k 
> dd if=u-boot.img of=/dev/sdX count=2 seek=1 conv=notrunc bs=384k 
>
> So far i've only got it to reliabley work on omap4+ bootroms (which 
> include the am335x).. so beagle/beagle-xm, not yet... 
>
> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2014-09-03 
>
> 3.8 -> 3.14 transition: 
> http://elinux.org/Beagleboard:Capes_3.8_to_3.14 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] 2014-08-19 LXDE flasher image: broken web site

2014-12-07 Thread Gunjan Gupta
Hi Robert,

I have built a customized debian image based on your latest imagebuilder 
script, and I am also facing this issue. Is it still broken? If yes, could 
you please tell the steps to get it working?

Regards
viraniac

On Saturday, August 23, 2014 12:08:30 AM UTC+5:30, RobertCNelson wrote:
>
> On Fri, Aug 22, 2014 at 1:36 PM, Eric Lee  > wrote: 
> > Just FYI, I flashed the 2014-08-19 LXDE image to my BBB Rev C and the 
> > Getting Started web site on the BBB appears to be broken.  Browsing to 
> > http://192.168.7.2 redirects me to 
> > http://192.168.7.2/%7B%7Bsite.baseurl%7D%7D/Support/bone101/, so 
> obviously 
> > there's a token that's not getting replaced for some reason.  I don't 
> know 
> > enough about the system to diagnose it any further than that yet. 
>
> Yeap, bone101 is broken, according to Jason, there's a new step 
> involved, i haven't implemented that other step yet.. 
>
> > 
> > Is there a better place to report issues with these images? 
>
> This is perfectly fine.. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] 2014-08-19 LXDE flasher image: broken web site

2014-12-11 Thread Gunjan Gupta
Thanks Jason & Robert,

That worked beautifully.

With Best Regards
viraniac

On Thursday, December 11, 2014 9:29:01 AM UTC+5:30, Jason Kridner wrote:
>
> On Wed, Dec 10, 2014 at 8:44 PM, Robert Nelson  > wrote: 
> >> Here's a simple patch to avoid the bad reference to base.siteurl in 
> >> the home directory: 
> >> 
> https://github.com/beagleboard/bone101/commit/4e9238747e864263cc0d5ebe45ee6f736206b38b
>  
> > 
> > Nice Jason!! 
> > 
> >> Making this work requires that you: 
> >> # apt-get install jekyll 
> >> # cd /var/lib/cloud9 
> >> # jekyll bone101 
> >> 
> >> I believe the jekyll line is different on Debian 7 (wheezy) than 
> >> Debian 8 (jessie).  For the newer jekyll, it should be something like: 
> >> # jekyll build --destination bone101 
> > 
> > I've been pulling jekyll from ruby: 
> > 
> > [Successfully installed jekyll-2.5.2] 
>
> Not sure where this got cut in the email, but I assume you mean: 
> # gem install jekyll 
>
> > 
> > So we get the same version in wheezy/jessie 
> > 
> >> You should also be able to launch jekyll as a process to continuously 
> >> monitor the files and apply the templates. 
> > 
> > I have systemd "jekyll-autorun.service" 
> > 
> > [Service] 
> > WorkingDirectory=/var/lib/cloud9 
> > ExecStart=/usr/local/bin/jekyll build --watch 
> > SyslogIdentifier=jekyll-autorun 
>
> You'll need to add the --destination: 
> See https://gist.github.com/jadonk/bc9a814b0f14d21a0dc3 
>
> > 
> > Regards, 
> > 
> > -- 
> > Robert Nelson 
> > http://www.rcn-ee.com/ 
> > 
> > -- 
> > For more options, visit http://beagleboard.org/discuss 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "BeagleBoard" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to beagleboard...@googlegroups.com . 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Question regarding squashfs

2014-12-11 Thread Gunjan Gupta
Hi Robert,

I am using a BBB Rev A5C which only has 2 GB of emmc storage. In order to 
conserve the storage, I am thinking to use squashfs for my root 
file-system. The layout I am planning will be some thing like a /boot 
partition, / partition, and then another partition that will act as an 
overlay over squashfs. Also I am planning to have a option available so 
that I can enable a separate overlay for the /home in case a SD card is 
present.

I don't exactly know the amount of changes required for this, but roughly I 
guess I have to customize the kernel and the initrd at the very least. 
Could you please comment on whether this kind of system is possible and if 
it will have any impact on performance of the system.

With Best Regards
viraniac

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Question regarding squashfs

2014-12-12 Thread Gunjan Gupta
Hi William,

I am currently using a custom image built with Robert's Image Builder 
script. It's a console image with all the things install that I need and 
the image size is about 800MB. Based on my experience with squashfs on x86 
platform, I know if squashfs is used this can be brought down to 200 to 300 
MB. Thats why I am willing to use squashfs.

I have searched on the forum and have found some posts regarding squashfs, 
but it doesn't look like any one ever succeeded to built an image or 
atleast no one shared there success on the forum.

Could you comment about whether using squashfs willl be practical or not 
for BBB

Thanks & Regards
viraniac

On Friday, December 12, 2014 2:16:34 PM UTC+5:30, William Hermans wrote:
>
> Well, Linux from scratch is not applicable only to Gentoo. This can pretty 
> much be done with any distro.
>
> https://wiki.debian.org/Debootstrap
>
> Which I think is what Robert's image_builder script uses. Not positive as 
> I've not used it yet myself, but it would make sense. However, there is no 
> need for that if not a requirement. As:
>
> https://eewiki.net/display/linuxonarm/BeagleBone+Black
>
> Exists, and if you use 
> https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-RootFileSystem%28smallflash%29
>
> We're talking a ~70-75M working / bootable Debian image. It is a fairly 
> minimal system, but a perfect base image for you to install exactly what 
> you want / need.
>
> Also, there were reports very early on that Sabayon Linux was run-able on 
> the BBB as well. However that is a fork on Gentoo with purportedly a more 
> "cutting edge" package repo. I have not personally touched Sabayon in years 
> though . . .
>
> On Fri, Dec 12, 2014 at 1:17 AM, > wrote:
>
>> Gunjan Gupta > [14-12-12 08:48]:
>> > Hi Robert,
>> >
>> > I am using a BBB Rev A5C which only has 2 GB of emmc storage. In order 
>> to
>> > conserve the storage, I am thinking to use squashfs for my root
>> > file-system. The layout I am planning will be some thing like a /boot
>> > partition, / partition, and then another partition that will act as an
>> > overlay over squashfs. Also I am planning to have a option available so
>> > that I can enable a separate overlay for the /home in case a SD card is
>> > present.
>> >
>> > I don't exactly know the amount of changes required for this, but 
>> roughly I
>> > guess I have to customize the kernel and the initrd at the very least.
>> > Could you please comment on whether this kind of system is possible and 
>> if
>> > it will have any impact on performance of the system.
>> >
>> > With Best Regards
>> > viraniac
>> >
>> > --
>> > For more options, visit http://beagleboard.org/discuss
>> > ---
>> > You received this message because you are subscribed to the Google 
>> Groups "BeagleBoard" group.
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to beagleboard...@googlegroups.com .
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> Hi Gunjan,
>>
>> not exactly the answer to your question but maybe a way to keep
>> the rootfs small and speedy (no compression/decompression).
>>
>> Warning! This needs more do-it-yourself-action and -compiling.
>>
>> Instead of the usual Distros, which came which much stuff installed
>> to keep it easy and straigh forward for beginners try GENTOO.
>>
>> Gentoo is source code based - which means you have to compile the
>> stuff you want (beside a rudimentary rootfs) yourself, which takes
>> time, especially on "small devices" like Beaglebone Black, Arietta.G25
>> etc.
>>
>> The usual steps are:
>> Download a stage3 rootfs from here:
>>
>> http://distfiles.gentoo.org/releases/arm/autobuilds/current-stage3-armv7a_hardfp/
>> and detar the stuff as root onto the second (rootfs) partition.
>> Install UBoot, uEnv.txt and zImage onto the first partition.
>>
>> Do the basic Gentoo configuration steps as described here:
>> https://www.gentoo.org/doc/en/handbook/handbook-x86.xml
>>
>> (start with chapter 8.)
>>
>> This is for x86 systems, but on the level of application there is not
>> much difference to ARM.
>>
>> After that you will have a very small system and you are free to only
>> install those things you want. Package dependencies are tracked by
>> the package manager (eix/emerge and the Gentooo ebuilds), so no
>> worry about that.
>>
>> + P

[beagleboard] Re: where can i buy beagle board black in india?

2014-04-09 Thread Gunjan Gupta
Hi Santosh,

If you are not belonging to a company and ordering it for your personal 
use, you can also order it from crazypi.com. I ordered mine from there as I 
was not seeing any progress when ordering from element14. Crazypi delivered 
it for me in 2 days.

Regards
viraniac

On Tuesday, April 8, 2014 4:51:48 PM UTC+5:30, santhosh kumar wrote:
>
> it is like none of the stores in the sites have the stock ? does anyone 
> have idea what can be done ? even amazon has no stocks for a month ? i want 
> to buy it :)
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: What went wrong

2014-04-09 Thread Gunjan Gupta
Hi,

You have used both the 5V power source and the mini usb cable. I guess 
thats why your board got fried up. Use only one of them for the next time.

Regards
viraniac

On Tuesday, April 8, 2014 2:36:29 AM UTC+5:30, A M Kent wrote:
>
> I've recently purchased the BBB and over the weekend I went through 
> setting it up. I have to say I'm thoroughly impressed with the setup and 
> the size. I followed the supplied instructions of connecting the device to 
> my computer using the USB cable connecting it from the micro USB port to a 
> port on my laptop, installing the necessary files to communicate with the 
> device. My
> issue occurred when I connected the BB in the following manner.
>
> 1. From micro HDMI port to HDMI port on monitor.
> 2. Connected the 5V power source into the BB
> 3. Connected a USB cable from the USB jack on the BB to my 4 port powered
> USB hub.
> 4. Connected the micro USB cable into the 4 port hub.
> 5. Inserted wireless keybrd/mouse dongle into the 4 port hub.
>
> When I applied power to the BB within 1 minute of doing so I hear a faint 
> high pitch tone and shortly thereafter I see a spark coming from the board. 
> Based on the setup described what could have gone wrong?
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Symantec virus alert on BONE_D4.exe download

2014-04-09 Thread Gunjan Gupta



I scanned the file over virus total and the detection count is 3 out of 50. 
Looks like this is a false positive

Regards,
viraniac
 

On Thursday, April 10, 2014 12:27:08 AM UTC+5:30, BBBNoob wrote:
>
> I was trying to download the drivers for BeagleBone Black from 
> http://beagleboard.org/static/Drivers/Windows/BONE_D64.exe
>
> But my symantec anti-virus quarantines it. Is it okay to un-quarantine and 
> continue to use it ??
>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Help Needed : Custom built debian image

2014-04-09 Thread Gunjan Gupta
Hi Robert,

Thanks for reminding me of systemd-analyze. Completely forgot about that.

Here is the output of the command

=
 62389ms networking.service
  2819ms bootlogs.service
  2533ms loadcpufreq.service
  2402ms ssh.service
  2271ms xrdp.service
  2203ms cron.service
  2059ms console-kit-daemon.service
  1236ms avahi-daemon.service
  1205ms connman.service
  1181ms wpa_supplicant.service
  1120ms systemd-logind.service
  1086ms connman-vpn.service
  1027ms boot_scripts.service
   961ms rc.local.service
   958ms capemgr.service
   862ms udev-trigger.service
   689ms motd.service
   677ms udhcpd.service
   576ms udev.service
   469ms cpufrequtils.service
   442ms console-kit-log-system-start.service
   412ms alsa-utils.service
   408ms systemd-modules-load.service
   356ms screen-cleanup.service
   314ms systemd-user-sessions.service
   293ms hostapd.service
   282ms sys-kernel-debug.mount
   256ms sys-kernel-security.mount
   254ms dev-mqueue.mount
   243ms systemd-sysctl.service
   240ms hdparm.service
   231ms run-lock.mount
   230ms systemd-tmpfiles-setup.service
   219ms run-user.mount
   193ms pppd-dns.service
   128ms systemd-remount-api-vfs.service
   113ms boot-uboot.mount
66ms remount-rootfs.service
48ms console-setup.service
38ms sys-fs-fuse-connections.mount
37ms keyboard-setup.service
==

So it looks like networking.service is eating up all the time. Is it safe 
to disable this service with connman installed?

On Thursday, April 10, 2014 1:34:02 AM UTC+5:30, RobertCNelson wrote:
>
> On Wed, Apr 9, 2014 at 2:44 PM,  > wrote: 
> > Hi Robert, 
> > 
> > Here is the pastebin of one of my custom built image's dmesg output. 
> > http://paste.debian.net/92787/ 
> > 
> > As you can see in the log, there is no log from around 6 second in the 
> boot 
> > process to 70 second of the boot process. For this time, the BBB just 
> > doesn't respond and after that it resumes booting. 
> > 
> > For this image I have removed connman, wicd at image creation time but 
> have 
> > added them back after booting for the first time. The image still takes 
> > around a minute to boot. http://paste.debian.net/92791/ is the pastebin 
> url 
> > with connman 
> > 
> > Please help me in optimizing boot timing. 
>
> Two things come to mind...  openssh-server key regeneration: (this 
> only occurs on the first boot) 
>
> root@beaglebone:~# rm -rf /etc/ssh/ssh_host_* 
> root@beaglebone:~# time dpkg-reconfigure openssh-server 
> Creating SSH2 RSA key; this may take some time ... 
> Creating SSH2 DSA key; this may take some time ... 
> Creating SSH2 ECDSA key; this may take some time ... 
> [ ok ] Restarting ssh (via systemctl): ssh.service. 
>
> real 0m13.760s 
> user 0m10.813s 
> sys 0m0.893s 
>
> but the other 50 some seconds.. 
>
> So factory image: (wicd) 
> http://paste.debian.net/92793/ 
>
> btw, systemd provides a nice tool to help debug this: 
>
> systemd-analyze 
>
> Using: 
> systemd-analyze blame 
>
> http://paste.debian.net/92798/ 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Help Needed : Custom built debian image

2014-04-09 Thread Gunjan Gupta
Disabling networking service indeed did the trick. Thanks for saving me.

Regards
viraniac

 
 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Developing for BeagleBone Black

2014-04-09 Thread Gunjan Gupta
I guess that comes bundled with debian by default. I have build some custom 
debian images using scripts provided by Robert and have noticed them 
getting included in the image.

Regards
viraniac

On Tuesday, April 8, 2014 6:42:03 AM UTC+5:30, Eric Palmer wrote:
>
> Do we know if the adafruit library works on the new debian distro from 
> Robert. 
>
> Sent from my iPhone
>
> On Apr 7, 2014, at 7:29 PM, michae...@gmail.com  wrote:
>
> Using Python -- along with the Adafruit BBIO Python library -- works quite 
> well, and gives you all the development power of Python and associated 
> native and third party libraries.  Lighter weight than Java or C++, much 
> higher level than C.  I can't speak to Lua (no experience with it).
>
> Easy to get things running, and seems to run well under Angstrom.
>
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Help Needed : Custom built debian image

2014-04-09 Thread Gunjan Gupta
I haven't changed the content of that, So that will be having some default 
values. I have deleted the old images and am building it again with the 
newly customized script with all locale support and with connman and having 
networking.service as disabled. Will there be any consequences for having 
networking service disabled?

Regards
viraniac

On Thursday, April 10, 2014 2:34:43 AM UTC+5:30, RobertCNelson wrote:
>
> On Wed, Apr 9, 2014 at 3:58 PM, Gunjan Gupta > 
> wrote: 
> > Hi Robert, 
> > 
> > Thanks for reminding me of systemd-analyze. Completely forgot about 
> that. 
> > 
> > Here is the output of the command 
> > 
> > = 
> >  62389ms networking.service 
> >   2819ms bootlogs.service 
> >   2533ms loadcpufreq.service 
> >   2402ms ssh.service 
> >   2271ms xrdp.service 
> >   2203ms cron.service 
> >   2059ms console-kit-daemon.service 
> >   1236ms avahi-daemon.service 
> >   1205ms connman.service 
> >   1181ms wpa_supplicant.service 
> >   1120ms systemd-logind.service 
> >   1086ms connman-vpn.service 
> >   1027ms boot_scripts.service 
> >961ms rc.local.service 
> >958ms capemgr.service 
> >862ms udev-trigger.service 
> >689ms motd.service 
> >677ms udhcpd.service 
> >576ms udev.service 
> >469ms cpufrequtils.service 
> >442ms console-kit-log-system-start.service 
> >412ms alsa-utils.service 
> >408ms systemd-modules-load.service 
> >356ms screen-cleanup.service 
> >314ms systemd-user-sessions.service 
> >293ms hostapd.service 
> >282ms sys-kernel-debug.mount 
> >256ms sys-kernel-security.mount 
> >254ms dev-mqueue.mount 
> >243ms systemd-sysctl.service 
> >240ms hdparm.service 
> >231ms run-lock.mount 
> >230ms systemd-tmpfiles-setup.service 
> >219ms run-user.mount 
> >193ms pppd-dns.service 
> >128ms systemd-remount-api-vfs.service 
> >113ms boot-uboot.mount 
> > 66ms remount-rootfs.service 
> > 48ms console-setup.service 
> > 38ms sys-fs-fuse-connections.mount 
> > 37ms keyboard-setup.service 
> > 
> == 
> > 
> > So it looks like networking.service is eating up all the time. Is it 
> safe to 
> > disable this service with connman installed? 
>
> What's in your: 
>
> /etc/network/interfaces 
>
> ? 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Help Needed : Custom built debian image

2014-04-10 Thread Gunjan Gupta
Hi Robert,

One thing that I forgot to mention was that I am interacting with BBB over 
ssh. I guess its taking LANG from my host machine. If I check LANG from 
lxterminal, it comes as en_US and everything works fine.

Can we force it to use en_US on ssh also?

Regards
viraniac

On Wednesday, April 9, 2014 8:37:33 PM UTC+5:30, RobertCNelson wrote:
>
> On Wed, Apr 9, 2014 at 9:27 AM,  > wrote: 
> > Hi Robert, 
> > 
> > As already mentioned in the previous comment, I am not setting lang 
> myself. 
> > Its automatically coming as en_IN 
>
> Weird, i should setup another vm, with a different locale and see if i 
> can fix that.. 
>
> > If i disable the line that is removing extra locales, how much more 
> space 
> > will be required. 
>
> I'm not really sure anymore, been doing that for awhile.. So here's a 
> quick disable option: 
>
>
> https://github.com/beagleboard/image-builder/blob/master/beagleboard.org_image.sh#L418
>  
>
> rfs_strip_locales="${rfs_strip_locales:-enable}" 
>
> Just comment it out to disable.. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Custom built debian flasher Image not working

2014-04-13 Thread Gunjan Gupta
Hi

I have a custom built debian flasher image which is not flashing the emmc. 
The image has the lxde related and node packages removed. I have added 
halevt, xinit, chkconfig and oracle jre to the image. The non flasher 
version of the image is working fine but not the flasher version.

Please help,

Regards
viraniac

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Help Needed : For setting up plymouth on Beaglebone Black

2014-04-13 Thread Gunjan Gupta
Hi,

No reply in days, but I found the solution. Posting it for any one needing 
this information in the future.

Here are the steps needed to be followed for setting up plymouth on 
beaglebone black running debian or ubuntu:

Step 1) Install Plymouth-DRM.

# apt-get install plymouth-drm

Step 2) Select a theme for boot splash.

# plymouth-set-default-theme --list   # this lists 
the available themes for plymouth

# plymouth-set-default-theme joy

Step 3) Update initramfs

# update-initramfs -u

Step 4) Copy the newly created initrd.img file to /boot/uboot folder

# cp /boot/initrd.img-$(uname -r) /boot/uboot/

Step 5) Update the initrd file name in the /boot/uboot/uEnv.txt

#initrd_file=initrd.img
initrd_file=initrd.img-3.8.13-bone47

Step 6) enable splash support by adding the following to 
/boot/uboot/uEnv.txt. 

# Place this at the bottom of the last line starting with optargs

optargs=splash plymouth.ignore-serial-consoles ${optargs}

just restart your beaglebone, and it will work.

Hope this will be helpful for someone.

Regards
viraniac

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Custom built debian flasher Image not working

2014-04-13 Thread Gunjan Gupta
Hi,

I am really hoping Robert or someone else will be able to help me on this. 
My guess for this is that halevt is keeping the partitions of emmc mounted 
which might be causing the script to fail. Another reason can be that I 
have disabled the root account. But as my custom GUI is running as root, I 
don't think the flasher script should have a problem running as root.

If you guys need, I can upload the scripts that I modified for my own 
customizations.

Regards
viraniac

On Sunday, April 13, 2014 5:53:29 PM UTC+5:30, Gunjan Gupta wrote:
>
> Hi
>
> I have a custom built debian flasher image which is not flashing the emmc. 
> The image has the lxde related and node packages removed. I have added 
> halevt, xinit, chkconfig and oracle jre to the image. The non flasher 
> version of the image is working fine but not the flasher version.
>
> Please help,
>
> Regards
> viraniac
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Custom built debian flasher Image not working

2014-04-13 Thread Gunjan Gupta
Hi,

Alright, got it was due to my keyboard being plugged in. Its strange though 
that this can be a issue while flashing.

Thanks for help.

Regards
viraniac

On Sunday, April 13, 2014 9:22:49 PM UTC+5:30, Gunjan Gupta wrote:
>
> Hi,
>
> I am really hoping Robert or someone else will be able to help me on this. 
> My guess for this is that halevt is keeping the partitions of emmc mounted 
> which might be causing the script to fail. Another reason can be that I 
> have disabled the root account. But as my custom GUI is running as root, I 
> don't think the flasher script should have a problem running as root.
>
> If you guys need, I can upload the scripts that I modified for my own 
> customizations.
>
> Regards
> viraniac
>
> On Sunday, April 13, 2014 5:53:29 PM UTC+5:30, Gunjan Gupta wrote:
>>
>> Hi
>>
>> I have a custom built debian flasher image which is not flashing the 
>> emmc. The image has the lxde related and node packages removed. I have 
>> added halevt, xinit, chkconfig and oracle jre to the image. The non flasher 
>> version of the image is working fine but not the flasher version.
>>
>> Please help,
>>
>> Regards
>> viraniac
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Help Needed : Custom built debian image

2014-04-13 Thread Gunjan Gupta
Hi Robert,

Though I am commenting the rfs locale strip=enable line. but its still 
generating only en_US.UTF8 locale. How to force it to generate all locales 
(other than executing dpkg-reconfigure)?

Regards
viraniac

On Thursday, April 10, 2014 11:03:35 PM UTC+5:30, Gunjan Gupta wrote:
>
> Hi Robert,
>
> One thing that I forgot to mention was that I am interacting with BBB over 
> ssh. I guess its taking LANG from my host machine. If I check LANG from 
> lxterminal, it comes as en_US and everything works fine.
>
> Can we force it to use en_US on ssh also?
>
> Regards
> viraniac
>
> On Wednesday, April 9, 2014 8:37:33 PM UTC+5:30, RobertCNelson wrote:
>>
>> On Wed, Apr 9, 2014 at 9:27 AM,   wrote: 
>> > Hi Robert, 
>> > 
>> > As already mentioned in the previous comment, I am not setting lang 
>> myself. 
>> > Its automatically coming as en_IN 
>>
>> Weird, i should setup another vm, with a different locale and see if i 
>> can fix that.. 
>>
>> > If i disable the line that is removing extra locales, how much more 
>> space 
>> > will be required. 
>>
>> I'm not really sure anymore, been doing that for awhile.. So here's a 
>> quick disable option: 
>>
>>
>> https://github.com/beagleboard/image-builder/blob/master/beagleboard.org_image.sh#L418
>>  
>>
>> rfs_strip_locales="${rfs_strip_locales:-enable}" 
>>
>> Just comment it out to disable.. 
>>
>> Regards, 
>>
>> -- 
>> Robert Nelson 
>> http://www.rcn-ee.com/ 
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Custom built debian flasher Image not working

2014-04-13 Thread Gunjan Gupta
Hi Robert,

Actually as it turned out, it was not a problem of power or keyboard. My 
initial analysis was wrong. It worked one time that got me thinking about 
this being keyboard fault, but it wasn't. I searched for the term emmc and 
flash in the filenames on my sd card and finally found the log file. The 
log file had a error rsync error 

chgrp failed: operation not permitted

I checked the /tmp/boot and found that the owner of the files was root and 
group owner was plugdev. So I modified the emmc flasher script to stop the 
halevt service, and now its working fine.

Thanks for replying. Please also reply to the locales issue in the other 
thread.

Regards
viraniac 

On Sunday, April 13, 2014 9:56:51 PM UTC+5:30, RobertCNelson wrote:
>
> On Sun, Apr 13, 2014 at 11:07 AM, Gunjan Gupta 
> > 
> wrote: 
> > Hi, 
> > 
> > Alright, got it was due to my keyboard being plugged in. Its strange 
> though 
> > that this can be a issue while flashing. 
>
> You probably ran out of power.  rsync (which is used) will fully 
> utlize both the eMMC and microSD during the procedure.  Any random 
> loss of power will make the script fail. 
>
> Like the directions say, only connect dc "power", no capes, no usb 
> devices, (ethernet is fine), to guarentee 100% flashing. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Help Needed : Custom built debian image

2014-04-13 Thread Gunjan Gupta
Hi Robert,

Thanks for replying. I will add that package to my package list. 120 MB 
won't be a problem as my disk space being used is currently near to 800MB 
only.

Regards
viraniac

On Sunday, April 13, 2014 9:58:46 PM UTC+5:30, RobertCNelson wrote:
>
> On Sun, Apr 13, 2014 at 11:11 AM, Gunjan Gupta 
> > 
> wrote: 
> > Hi Robert, 
> > 
> > Though I am commenting the rfs locale strip=enable line. but its still 
> > generating only en_US.UTF8 locale. How to force it to generate all 
> locales 
> > (other than executing dpkg-reconfigure)? 
>
> The rfs strip option, just disables removing the pre-compute-locale 
> info, we still only generate one locale. 
>
> If you want them all, also add: "locales-all" to the package list.. 
> Of course, It'll cost you about 120MB of space.. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Help Needed : Custom built debian image

2014-04-13 Thread Gunjan Gupta
Robert,

My system while booting shows a debian boot splash. Then it shows a black 
screen for about 4 to 5 seconds before displaying the java program that I 
am running as my GUI. 

I am using startx command configured in /etc/rc.local to start the X 
environment and a /root/.xinitrc file to start my java program. Is there 
something I can do to reduce this 5 second of blank display time?

Regards
viraniac

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.