Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
'Release Compatibility' updated for 9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kamalkrbh committed Feb 25, 2021
1 parent f00592b commit 579c582
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
1 change: 1 addition & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Default input while execution i.e. when user just presses enter without any inpu
## Release Compatibility
|Device|AOT|SAL|APSN BSP|SDE|OS (Recommended)|Kernel|
|---|---|---|---|---|---|---|
|BF2556X_1T<br>BF6064X_T|v1.4.2|sal_1.2.0|bf-reference-bsp-9.4.0-BF2556_1.0.0.zip<br>bf-reference-bsp-9.4.0-BF6064_1.0.0.zip|BF_SDE_9.4.0|Ubuntu Server 18.04.4 LTS|5.4.x
|BF2556X_1T<br>BF6064X_T|v1.4.1|sal_1.1.1|bf-reference-bsp-9.3.0-BF2556_1c5723d.zip<br>bf-reference-bsp-9.3.0-BF6064_f536cae.zip|BF_SDE_9.3.0|Ubuntu Server 18.04.4 LTS|5.4.x
|BF2556X_1T<br>BF6064X_T|v1.3.0|sal_1.1.0|bf-reference-bsp-9.2.0-BF2556_5189449.zip<br>bf-reference-bsp-9.2.0-BF6064_0ee36ac.zip|BF_SDE_9.2.0|Ubuntu Server 18.04.4 LTS|4.15.x
|BF2556X_1T<br>BF6064X_T|v1.2.0|sal_1.1.0|BF2556X-1T_BSP_9.0.0(master HEAD)<br>BF6064X_BSP_9.0.0(master HEAD)|BF_SDE_9.1<br>BF_SDE_9.2|Ubuntu Server 18.04.4 LTS|4.15.x
Expand Down
6 changes: 6 additions & 0 deletions bf_sde.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ def get_sde_build_flags():
def get_p4_studio_build_profile_name():
return get_from_setting_dict('BF SDE', 'p4studio_build_profile')


def install_sde_deps():
os.system('sudo apt -y install python')


def build_sde():
install_sde_deps()
sde_tar = tarfile.open(get_sde_pkg_abs_path())
sde_home_absolute = get_sde_home_absolute()
sde_build_flags = get_sde_build_flags()
Expand Down
22 changes: 11 additions & 11 deletions sal.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ def clean_sal():

def run_sal():
print('Starting SAL reference application...')
set_sal_runtime_env()
if get_selected_profile_name() == constants.sal_hw_profile_name and not load_and_verify_kernel_modules():
print("ERROR:Some kernel modules are not loaded.")
exit(0)
Expand Down Expand Up @@ -383,29 +382,30 @@ def make_executable(path):

def execute_user_action(sal_input):
rc = True

if 'c' in sal_input:
rc &= set_sal_env()
rc &= clean_sal()
if 'r' in sal_input:
rc &= run_sal()
if 't' in sal_input:
print('Running SAL tests from AOT are currently not supported, '
'Should run from within SAL package only')
# rc &= test_sal()
if 'b' in sal_input:
rc &= set_sal_env()
rc &= build_sal()
if 'i' in sal_input:
if get_from_advance_setting_dict(constants.sal_sw_attr_node,
constants.build_third_party_node):
rc &= install_sal_thirdparty_deps()
else:
print(
'But choose not to build thirdparty SW. Check settings.yaml')
if 'b' in sal_input:
rc &= set_sal_env()
rc &= build_sal()
if 'p' in sal_input:
rc &= set_sal_env()
rc &= prepare_sal_release()

if 'r' in sal_input:
set_sal_runtime_env()
rc &= run_sal()
if 't' in sal_input:
print('Running SAL tests from AOT are currently not supported, '
'Should run from within SAL package only')
# rc &= test_sal()
return rc


Expand Down

0 comments on commit 579c582

Please sign in to comment.