[solved] uEnv.txt empty

This forum is for supported devices using an ARMv7 Allwinner SoC.

Re: [solved] uEnv.txt empty

Postby xanb » Sat Jan 24, 2015 5:08 pm

Now I have this
$this->bbcode_second_pass_code('', '
[(2015-01-24) root@serviedre boot]# cat boot.txt
part uuid ${devtype} ${devnum}:${bootpart} uuid
setenv bootargs console=${console} root=/dev/sda1 rw rootwait elevator=noop ethaddr=00:CE:39:B7:74:4E rootfstype=ext4

if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /boot/zImage; then
if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/${fdtfile}; then
if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /boot/initramfs-linux.img; then
bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
else
bootz ${kernel_addr_r} - ${fdt_addr_r};
fi;
fi;
fi

if load ${devtype} ${devnum}:${bootpart} 0x48000000 /boot/uImage; then
if load ${devtype} ${devnum}:${bootpart} 0x43000000 /boot/script.bin; then
setenv bootm_boot_mode sec;
bootm 0x48000000;
fi;
fi
')
boot.txt but I prefer to having more elegant one specifying that $uuid is the UUID of the /dev/sda1. How can I achieve it?
xanb
 
Posts: 41
Joined: Sun Dec 08, 2013 9:39 pm

Re: [solved] uEnv.txt empty

Postby WarheadsSE » Sun Jan 25, 2015 2:23 am

Without an initrd? UUID won't work. Need PARTUUID.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [solved] uEnv.txt empty

Postby xanb » Sun Jan 25, 2015 11:38 am

how can I achieve it?
how can I put here:
$this->bbcode_second_pass_code('', '
part uuid ${devtype} ${devnum}:${bootpart} uuid
setenv bootargs console=${console} root=PARTUUID=${uuid} rw rootwait
')
that ${uuid} is the UUID of /dev/sda1. Please, write specific code.
xanb
 
Posts: 41
Joined: Sun Dec 08, 2013 9:39 pm

Re: [solved] uEnv.txt empty

Postby WarheadsSE » Mon Jan 26, 2015 3:20 pm

An initrd? WIKI.

PartUUID vs UUID? NOT THE SAME THING.


I Am Not Your Manual
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [solved] uEnv.txt empty

Postby xanb » Tue Jan 27, 2015 4:00 pm

$this->bbcode_second_pass_quote('', '
')PartUUID vs UUID? NOT THE SAME THING.
I Am Not Your Manual


I do not pretend to. There is no documentation about that. The developers change the uboot and then some user asks because it broke the previous functionality. In linux-sunxi.org there is no information on how this (latest) version works. And the plain users like me follows the time fixing what developers broke.

If you are not my manual. Where is THE manual?

Sorry for the angry tone of this message. But I spend about 2 weeks of my life trying to fix it..... that's enough!
xanb
 
Posts: 41
Joined: Sun Dec 08, 2013 9:39 pm

Re: [solved] uEnv.txt empty

Postby ap82 » Sun Feb 01, 2015 7:04 am

@xanb Thanks for your reply I had given up on arch arm too as even i spend almost 3 weeks trying to get this to work. Got totally fed up and tried a debian server image. No problems with anything been running fine from over a month now :).
ap82
 
Posts: 5
Joined: Thu Dec 11, 2014 10:54 am

Previous

Return to Allwinner

Who is online

Users browsing this forum: No registered users and 19 guests