Copy attributes from one file/folder to another file/folder.

2018-12-27 Thread Ankur Tank
Hi busybox experts, We have use case where we want to copy attributes from one file/folder to another file/folder, https://unix.stackexchange.com/questions/20645/clone-ownership-and-permissions-from-another-file

reboot from init script doesn't work with busybox-1.26.2

2017-12-13 Thread Ankur Tank
Hello, We have Beaglebone black based custom board, Recently we upgraded busybox from version 1.20.2 to 1.26.2. We are facing a issue where reboot(as mentioned below) from init scripts doesn't seem to work. In case of critical errors during initscript execution we used to reboot the board. No

Re: [beagleboard] Fragmentation while extracting big tar file with 81000 4k size files on eMMC partition

2017-06-20 Thread Ankur Tank
locks First error inode #: 0 Last error inode #: 0 I tested with tar file as well. Result is same as tar.gz file. Thank you, Regards, Ankur On Friday, 16 June 2017 20:49:47 UTC+5:30, Dieter Wirz wrote: > > Hello > > On Thu, May 25, 2017 at 8:25 PM, Ankur Tank > wrote

[beagleboard] Re: Fragmentation while extracting big tar file with 81000 4k size files on eMMC partition

2017-06-16 Thread Ankur Tank
s issue. Thank you, Regards, Ankur On Wednesday, 31 May 2017 21:25:33 UTC+5:30, Ankur Tank wrote: > > Hi Mr. Nelson, > > if you have any suggestion for this, do let me know. > > Thank you, > > Regards, > Ankur > > On Thursday, 25 May 2017 14:25:20 UTC-4, Ankur Tank

[beagleboard] Re: Fragmentation while extracting big tar file with 81000 4k size files on eMMC partition

2017-05-31 Thread Ankur Tank
Hi Mr. Nelson, if you have any suggestion for this, do let me know. Thank you, Regards, Ankur On Thursday, 25 May 2017 14:25:20 UTC-4, Ankur Tank wrote: > > Hello Experts, > > We are seeing fragmentation and resultant eMMC partition corruption when > extracting tar file with 81

[beagleboard] Fragmentation while extracting big tar file with 81000 4k size files on eMMC partition

2017-05-25 Thread Ankur Tank
Hello Experts, We are seeing fragmentation and resultant eMMC partition corruption when extracting tar file with 81000 files of 4k size. Detailed steps are listed in Test_steps.txt file and other attached tars contain required scripts to big tar file and other test scripts. In test is very sim

Re: [beagleboard] How to decide min_free_kbytes size for BBB based custom board embedded Linux board

2016-12-08 Thread Ankur Tank
I haven't got a chance to test it in Linux 4.9, And I don't see a possibility of checking it soon, Once I test it, I will update status here. Regards, Ankur On Wednesday, 7 December 2016 20:28:20 UTC+5:30, RobertCNelson wrote: > > On Wed, Dec 7, 2016 at 6:39 AM, Ankur

Re: [beagleboard] How to decide min_free_kbytes size for BBB based custom board embedded Linux board

2016-12-07 Thread Ankur Tank
:26:06 UTC+5:30, Ankur Tank wrote: > > Thank you for reply Mr. Nelson, > > Were there any patches or fixes your remember for 3.12 kernel ? > We will move to 4.1 kernel but its in pipeline and current boards which we > are shipping should work with 3.12. > Considering that do you

RE: Memory fragmentation issue related suggestion request

2016-10-21 Thread Ankur Tank
Sent: Sunday, October 02, 2016 7:47 PM To: Ankur Tank ; PINTU KUMAR ; linux-kernel@vger.kernel.org; linux...@kvack.org Cc: artf...@gmail.com Subject: Re: Memory fragmentation issue related suggestion request Hi Ankur, Please find some of my comments below. >____ &g

Re: [beagleboard] How to decide min_free_kbytes size for BBB based custom board embedded Linux board

2016-08-30 Thread Ankur Tank
ny suggestion/pointer for me ? > > Thank you, > > Regards, > Ankur > > On Tuesday, 19 July 2016 22:38:25 UTC+5:30, RobertCNelson wrote: >> >> >> >> On Tue, Jul 19, 2016 at 11:11 AM, Ankur Tank wrote: >> >>> >>> We are using Beagle

Re: [beagleboard] How to decide min_free_kbytes size for BBB based custom board embedded Linux board

2016-08-29 Thread Ankur Tank
> > > On Tue, Jul 19, 2016 at 11:11 AM, Ankur Tank > wrote: > >> >> We are using BeagleBoneBlack based custom Linux board. >> It has 256MB of RAM and 4GB of eMMC. >> Currently RFS size of the project is 163MB. While RFS partition size is >> 500

Re: [beagleboard] Re: BBB eMMC physical failure?

2016-08-17 Thread Ankur Tank
Hi Michel, Were you able to find out if that was eMMC issue(or eMMC interface issue?) or software issue ? Because me too getting similar error(mentioned below) in our BBB based custom board mmcqd/1: page allocation failure: order:3, mode:0x200020 Thank you, Regards, Ankur On Friday, 16 Octo

[beagleboard] Resource for understanding BBB boot process with systemd

2016-07-21 Thread Ankur Tank
Hello Experts, We have BBB based custom Linux board running Linux 3.12 We are using SysV init, for boot, And I understand that boot happens in following sequence, 1. ROM code lookks for boot device based on boot pin configuration. 2. ROM code loads first stage boot loader(SPL/X-loader) to Inter

Re: [beagleboard] Memory crawler for eMMC partitions

2016-07-20 Thread Ankur Tank
thinking what will happen if write/erase and read happens simultaneously. Thank you, Ankur On Wednesday, 20 July 2016 20:29:32 UTC+5:30, RobertCNelson wrote: > > > On Wed, Jul 20, 2016 at 9:56 AM, Ankur Tank > wrote: > >> Thank you for reply Mr. Nelson, >> >> T

Re: [beagleboard] Memory crawler for eMMC partitions

2016-07-20 Thread Ankur Tank
e when I run this script, right ? On Wednesday, 20 July 2016 20:10:53 UTC+5:30, RobertCNelson wrote: > > > > On Wed, Jul 20, 2016 at 9:23 AM, Ankur Tank > wrote: > >> >> We have BBB based custom board with 256MB RAM and 4GB eMMC running Linux >> kernel 3.12 >&

[beagleboard] Memory crawler for eMMC partitions

2016-07-20 Thread Ankur Tank
We have BBB based custom board with 256MB RAM and 4GB eMMC running Linux kernel 3.12 *TL;DR*: Is there a open source application which periodically reads unread/rarely used partition to increase data retention? OR Is there any kernel service which can be configure *Detailed query,* We have 3

Re: [beagleboard] How to decide min_free_kbytes size for BBB based custom board embedded Linux board

2016-07-20 Thread Ankur Tank
Thank you reply Mr.Hermans, I totally agree with you, and me too not willing to change that settings(or not willing to change it without understanding how to decide its value). However I have to fix those errors also, that's the reason I posted my query here. Regards, Ankur On Wednesday, 20 Ju

Re: [beagleboard] How to decide min_free_kbytes size for BBB based custom board embedded Linux board

2016-07-19 Thread Ankur Tank
UTC+5:30, RobertCNelson wrote: > > > > On Tue, Jul 19, 2016 at 11:11 AM, Ankur Tank > wrote: > >> >> We are using BeagleBoneBlack based custom Linux board. >> It has 256MB of RAM and 4GB of eMMC. >> Currently RFS size of the project is 163MB. While

Re: [beagleboard] How to decide min_free_kbytes size for BBB based custom board embedded Linux board

2016-07-19 Thread Ankur Tank
; immediately. Linux is designed to use all available RAM to cache file >> system data. Setting a high *min_free_kbytes* value results in the >> system spending too much time reclaiming memory. >> > > > > On Tue, Jul 19, 2016 at 9:11 AM, Ankur Tank > wrote: > >&g

Re: [beagleboard] How to make device-files static in nfsroot

2016-06-01 Thread Ankur Tank
arles Steinkuehler wrote: > > On 5/12/2016 11:57 PM, Ankur Tank wrote: > > > > so my question is, is there anyway to prevent deletion of the device > file when > > emmc is being partitioned ? is there a kernel configuration which stops > device > > file cre

Re: [beagleboard] How to make device-files static in nfsroot

2016-05-24 Thread Ankur Tank
helps. Thank you, Regards, Ankur On Friday, 13 May 2016 18:56:23 UTC+5:30, Charles Steinkuehler wrote: > > On 5/12/2016 11:57 PM, Ankur Tank wrote: > > > > so my question is, is there anyway to prevent deletion of the device > file when > > emmc is being

[beagleboard] How to make device-files static in nfsroot

2016-05-12 Thread Ankur Tank
we are using beaglebone black based custom board, We have programming station[desktop PC just naming it] where we have configured tftpboot and nfsroot(network rfs). And Last init script( programming init script in /etc/init.d/ folder) flashes freshly manufactured board. Programming script d

Re: [beagleboard] Re: Yocto custom recipe for building beaglebone black's kernel from github for chipsee LCD.

2016-01-20 Thread Ankur Tank
: > > Hi Ankur, > > have you got it to work? > > How did you do? > > > Am Montag, 8. Juni 2015 20:36:27 UTC+2 schrieb Ankur Tank: >> >> Hi Experts, >> >> I was trying to build Linux for beaglebone black from official repository >> https://gith

bug#22180: Partition alignment using parted

2016-01-02 Thread Ankur Tank
Ankur From: Phillip Susi [ps...@ubuntu.com] Sent: Saturday, December 26, 2015 7:08 AM To: Ankur Tank; 22...@debbugs.gnu.org Cc: artf...@gmail.com Subject: Re: bug#22180: Partition alignment using parted -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 12/24/2015 05:51 AM, Ankur

bug#22180: Partition alignment using parted

2015-12-24 Thread Ankur Tank
PM To: Ankur Tank; 22...@debbugs.gnu.org Cc: artf...@gmail.com Subject: Re: bug#22180: Partition alignment using parted On 12/23/2015 8:35 AM, Ankur Tank wrote: > Hi Phillip > > Thank you very much for reply, We are using am335x based (Beaglebone > Black) custom board with eMMC(4GB).

bug#22180: Partition alignment using parted

2015-12-15 Thread Ankur Tank
2969600 Could someone explain why parted is not giving partition size which I expected ? Because I had aligned partitions to sector boundaries(sector size 512B). Any suggestions/pointers/corrections ? Thank you, Regards, Ankur -Original Message- From: Ankur Tank Sent: Tuesday

bug#22179: Partition alignment using parted

2015-12-15 Thread Ankur Tank
Hi Parted Experts, I am working on am335x based board. We are using eMMC and as a storage medium and parted for partitioning eMMC. I am not able to use "optimal" alignment option with parted when partitioning eMMC. I get following error messages when I use "optimal" alignment Warning: The resul

[beagleboard] How to get RAM information in BBB Linux

2015-07-10 Thread Ankur Tank
Hi All, I am using BBB based custom board. I want to print RAM(DDR) frequency information. How can I print RAM(DDR) frequency information in Linux. Any utility/tool? Somewhere in proc or sysfs or debugfs ? Thank you, Regards, Ankur -- For more options, visit http://beagleboard.org/discuss ---

Re: [beagleboard] Beaglebone Black and Chipsee 7 inch LCD and Yocto

2015-06-14 Thread Ankur Tank
stem. I will update the answer once i am done with that. Hope this helps someone with the same issue. Thank you, Regards, Ankur On Thursday, 11 June 2015 23:18:21 UTC+5:30, RobertCNelson wrote: > > On Thu, Jun 11, 2015 at 2:09 AM, Ankur Tank > wrote: > > Hi Experts, > >

Re: [beagleboard] Beaglebone Black and Chipsee 7 inch LCD and Yocto

2015-06-11 Thread Ankur Tank
Thank you for reply Mr. Nelson. It is a great help, I would have suffered by downloading and building different kernel repositories. Best regards, Ankur On Thursday, 11 June 2015 23:18:21 UTC+5:30, RobertCNelson wrote: > > On Thu, Jun 11, 2015 at 2:09 AM, Ankur Tank > wrote: >

[beagleboard] Beaglebone Black and Chipsee 7 inch LCD and Yocto

2015-06-11 Thread Ankur Tank
Hi Experts, I think, I am almost there in getting Chipsee LCD work with BBB and Yocto. Here are my simple question, In my understanding, *Linux kerne*l from below location and "*am335x-bone-bbb-exp-c.dts*" can get Chipsee 7 inch LCD working. *https://github.com/beagleboard/linux* *Que1 : Am

[beagleboard] Yocto custom recipe for building beaglebone black's kernel from github for chipsee LCD.

2015-06-08 Thread Ankur Tank
Hi Experts, I was trying to build Linux for beaglebone black from official repository https://github.com/beagleboard/linux I am able to fetch and run menuconfig but when i try to compile the kernel i get error. Following is the content of the recipe file. *file name* : linux-yocto-chipsee_3.14

Re: [beagleboard] Issues while eMMC partitioned using sfdisk

2015-04-29 Thread Ankur Tank
ating problem, Because before erasing the partition, I was checking if partition is mounted or not and if mounted i was umounting it. Is it right change ? Thank you On Monday, 27 April 2015 20:20:17 UTC+5:30, Ankur Tank wrote: > > Hi Mr. Nelson, > > Problem in short > I changed part

Re: [beagleboard] Issues while eMMC partitioned using sfdisk

2015-04-27 Thread Ankur Tank
0 Dec 31 19:00 ram8 -> ../../devices/virtual/block/ram8 lrwxrwxrwx1 root root 0 Dec 31 19:00 ram9 -> ../../devices/virtual/block/ram9 Can we conclude that from mmc driverside there is problem. Do you doubt mdev ?? Can network boot affect ? I am booting from network to updat

Re: [beagleboard] Issues while eMMC partitioned using sfdisk

2015-04-24 Thread Ankur Tank
ng echoAndLog "mount all the partitions" #Create mount point if it doesn't exist. if [ ! -d "$ROOTFS_MOUNT" ]; then mkdir -p $ROOTFS_MOUNT fi if [ ! -d "$ROOTFS2_MOUNT" ]; then mkdir -p $ROOTFS2_MOUNT fi if [ ! -d &qu

Re: [beagleboard] Issues while eMMC partitioned using sfdisk

2015-04-22 Thread Ankur Tank
064afc-e114-4339-89cd-76725fedbc86" TYPE="ext4"* /dev/mmcblk0p6: LABEL="database" UUID="45b8786e-bcb2-457d-8796-e78f9188aa55" TYPE="ext4" Why is */dev/mmcblk0boot0* appears here, it doesn't show up in fdisk -l output? from where is this mysterious

[beagleboard] Issues while eMMC partitioned using sfdisk

2015-04-22 Thread Ankur Tank
I am writing firmware(MLO,u-boot.img, uImage(ver 3.12), dtb, rootfs.tar.gz) programming script for am335x based custom board which is based on Beaglebone black. Rootfile system is to be put onto the eMMC. Firmware programming script runs as the one of the init script from the nfsroot folder

RE: btrfs doesn't format eMMC if previous filesystem is ext4

2014-12-29 Thread Ankur Tank
PM To: Ankur Tank Cc: Anand Jain; linux-btrfs@vger.kernel.org Subject: Re: btrfs doesn't format eMMC if previous filesystem is ext4 Am Montag, 29. Dezember 2014, 09:55:13 schrieb Ankur Tank: > Thank you for reply Anand & Matrin, > > Okay I understand the intention now. > I know it&

RE: btrfs doesn't format eMMC if previous filesystem is ext4

2014-12-29 Thread Ankur Tank
hile mkfs.ext4 take "-L" to apply label. If one has to write a common script these cases has to be handled separately. Anyways thank you for help, Best regards, Ankur -Original Message- From: Martin Steigerwald [mailto:mar...@lichtvoll.de] Sent: Monday, December 29, 2014 3:09 PM

RE: btrfs doesn't format eMMC if previous filesystem is ext4

2014-12-28 Thread Ankur Tank
to:anand.j...@oracle.com] Sent: Monday, December 29, 2014 8:21 AM To: Ankur Tank; linux-btrfs@vger.kernel.org Subject: Re: btrfs doesn't format eMMC if previous filesystem is ext4 On 12/26/2014 11:24 PM, Ankur Tank wrote: > Hi, > > I wanted to test btrfs on the eMMC of beaglebone

btrfs doesn't format eMMC if previous filesystem is ext4

2014-12-26 Thread Ankur Tank
Hi, I wanted to test btrfs on the eMMC of beaglebone black based custom board. Precondition: eMMC is formatted with ext4 filesystem Use case: Format eMMC with mkfs.btrfs -L Result: Mkfs.btrfs denies formatting eMMC because its existing filesystem # mkfs.btrfs -L "1storage" /d

[f2fs-dev] F2fs on eMMC on Beaglebone Black based custom board.

2014-12-20 Thread Ankur Tank
Hello All, We are developing Beaglebone black based Custom board with eMMC. We want to decide the file-system for RFS partition of eMMC. We are in process of testing/Benchmarking different filesystem on BBB itself. Major contributor to writes to the filesystem is done by logging process. To finali

BTRFS for eMMC on Beaglebone Based custom board

2014-12-20 Thread Ankur Tank
Hello All, We are developing Beagle-bone black based Custom board with eMMC. We want to decide the file-system for RFS partition of eMMC. We are in process of testing/Benchmarking different file-system on BBB itself. Major contributor to writes to the file-system is done by logging process. To fi

[meta-ti] BBB+Chipsee lcd --- tilcdc 4830e000.lcdc: no encoders/connectors found

2014-10-19 Thread Ankur Tank
Hi All, I am using BBB + Chipseee 7 " inch capacitive lcd and Yocto daisy, I am able to boot BBB and daisy but i am not able see anything on LCD. I am not even seeing /dev/fb . I read some of the TI links and found that there are some changes in the LCD controller driver but i am not sure how to a

[beagleboard] Yocto support for kernel 3.8

2014-07-28 Thread Ankur Tank
Hello Experts, I am using bealgebone black and Chipsee 7" LCD with capacitive touch screen. I have patch for Chipsee LCD support for 3.8 Linux kernel. When i built Yocto for beaglebone black, i found that it uses Linux 3.14 kernel, So my doubt is how do i, get Linux 3.8 in Yocto project ? Is it