addr = f.get('addr', None)
if not addr:
- addr = u_boot_utils.find_ram_base(u_boot_console) + (1024 * 1024 * 4)
+ addr = u_boot_utils.find_ram_base(u_boot_console)
fn = f['fn']
output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn))
addr = f.get('addr', None)
if not addr:
- addr = u_boot_utils.find_ram_base(u_boot_console) + (1024 * 1024 * 4)
+ addr = u_boot_utils.find_ram_base(u_boot_console)
fn = f['fn']
output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn))
addr = f.get('addr', None)
if not addr:
- addr = u_boot_utils.find_ram_base(u_boot_console) + (1024 * 1024 * 4)
+ addr = u_boot_utils.find_ram_base(u_boot_console)
fn = f['fn']
output = u_boot_console.run_command('nfs %x %s' % (addr, fn))
"""
force_init(u_boot_console)
- ram = u_boot_utils.find_ram_base(u_boot_console) + 1024
+ ram = u_boot_utils.find_ram_base(u_boot_console)
read_pcr = u_boot_console.run_command('tpm pcr_read 0 0x%x' % ram)
output = u_boot_console.run_command('echo $?')
"""
force_init(u_boot_console)
- ram = u_boot_utils.find_ram_base(u_boot_console) + 1024
+ ram = u_boot_utils.find_ram_base(u_boot_console)
u_boot_console.run_command('tpm pcr_extend 0 0x%x' % ram)
output = u_boot_console.run_command('echo $?')