[beagleboard] Re: how to change uEnv.txt from U boot interface ?

2020-05-06 Thread zdenko . bacik
Hi Ahmed,

I write a bit later but it can help someone else. 

If you have a backup of uEnv.txt - so than it is quick and simple. 

*First copy file content to RAM memory:*
ext4load mmc 1 0x8000 /boot/uEnv.txt_bck

*Write content of file to new file:*
ext4write mmc 1 0x8000 /boot/uEnv.txt 2042 0

*mmc 1 - *it is my rootfs partition. Use the command *mmc list* to see the 
partition.
  

On Wednesday, September 14, 2016 at 3:02:59 AM UTC+2, Yahya ahmed wrote:
>
> Hi all,
>
> I made some changes on the uEnv.txt file from my computer , then I 
> rebooted my beaglebone.
> Now it starts the u-boot and writes "starting kernel" and it just hangs. 
> My system(ubuntu) can't see the beaglebone anymore when I connect it using 
> USB, so I can't re-edit my uEnv.txt 
>
> So, is there anyway I can undo my edits on uEnv.txt ?? Can I do it from 
> the U-Boot interface ?
>
>
>

-- 
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/ce8683ff-d37a-4b71-b422-6c57e7fe57eb%40googlegroups.com.


Re: [beagleboard] Re: how to change uEnv.txt from U boot interface ?

2020-05-06 Thread John Allwine
This is how I did it using a microSD card: 
https://groups.google.com/forum/m/#!category-topic/beagleboard/b21LZKh8z2w

John Allwine
Principal Software Engineer
https://www.pocketnc.com

> On May 6, 2020, at 7:23 AM, zdenko.ba...@gmail.com wrote:
> 
> 
> Hi Ahmed,
> 
> I write a bit later but it can help someone else. 
> 
> If you have a backup of uEnv.txt - so than it is quick and simple. 
> 
> First copy file content to RAM memory:
> ext4load mmc 1 0x8000 /boot/uEnv.txt_bck
> 
> Write content of file to new file:
> ext4write mmc 1 0x8000 /boot/uEnv.txt 2042 0
> 
> mmc 1 - it is my rootfs partition. Use the command mmc list to see the 
> partition.
>   
> 
>> On Wednesday, September 14, 2016 at 3:02:59 AM UTC+2, Yahya ahmed wrote:
>> Hi all,
>> 
>> I made some changes on the uEnv.txt file from my computer , then I rebooted 
>> my beaglebone.
>> Now it starts the u-boot and writes "starting kernel" and it just hangs. 
>> My system(ubuntu) can't see the beaglebone anymore when I connect it using 
>> USB, so I can't re-edit my uEnv.txt 
>> 
>> So, is there anyway I can undo my edits on uEnv.txt ?? Can I do it from the 
>> U-Boot interface ?
>> 
>> 
> 
> -- 
> 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/ce8683ff-d37a-4b71-b422-6c57e7fe57eb%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/A6A875A7-63B6-459D-B0BF-8C4E597D5095%40pocketnc.com.